Skip to content

useTableDeletes

useTableDeletes(table, callback, options?): object

Hook to subscribe to DELETE events on a table

Parameter Type
table string
callback (payload) => void
options? Omit<UseRealtimeOptions, "channel" | "event" | "callback">

object

Name Type Default value
channel RealtimeChannel | null channelRef.current