Skip to content

js-bao-wss-client


js-bao-wss-client / DatabaseSubscribeOptions

Interface: DatabaseSubscribeOptions

Options for databases.subscribe().

Properties

onChange()

onChange: (event) => void

Called for every matching db.change frame until unsub() is called

Parameters

event

DatabaseChangePayload

Returns

void


params?

optional params: Record<string, any>

Bound params passed to the server; available in filter CEL as params.*