Type alias NextEventCallback<T>

NextEventCallback<T>: ((event: RealtimeEvent<T>) => Promise<any> | any)

Type Parameters

Type declaration

    • (event: RealtimeEvent<T>): Promise<any> | any
    • This callback is called whenever the result of the real-time query changes. The received event contains information on how the query result changed.

      Parameters

      Returns Promise<any> | any

Generated using TypeDoc