For on().subscribe(), what is the payload paramete...
# javascript
i
For on().subscribe(), what is the payload parameter? Where can I find documentation for this?
creating thread
f
hei @its-pablo, the payload is not an parameter you have to pass. Its an parameter you receive
j
@its-pablo Refer to the type docs if you need more info: https://supabase.github.io/supabase-js/modules/lib_types.html#SupabaseRealtimePayload
i
this is exactly what I needed, thanks!
j
Awesome! Glad I could help
2 Views