https://supabase.com/ logo
#javascript
Title
# javascript
i

its-pablo

05/14/2022, 1:53 AM
For on().subscribe(), what is the payload parameter? Where can I find documentation for this?
creating thread
f

F0rce

05/14/2022, 11:55 AM
hei @its-pablo, the payload is not an parameter you have to pass. Its an parameter you receive
j

jaitaiwan

05/14/2022, 11:38 PM
@its-pablo Refer to the type docs if you need more info: https://supabase.github.io/supabase-js/modules/lib_types.html#SupabaseRealtimePayload
i

its-pablo

05/15/2022, 1:45 AM
this is exactly what I needed, thanks!
j

jaitaiwan

05/15/2022, 4:20 AM
Awesome! Glad I could help
2 Views