Skip to content

useTableDeletes

useTableDeletes(table, callback, options?): object

Hook to subscribe to DELETE events on a table

ParameterType
tablestring
callback(payload) => void
options?Omit<UseRealtimeOptions, "channel" | "event" | "callback">

object

NameTypeDefault value
channelnull | RealtimeChannelchannelRef.current