type RealtimeEventCallback: (event, data) => void;
A callback function type used for handling real-time events.
Parameters
Parameter | Type | Description |
---|---|---|
event | RealtimeEvent | The type of real-time event being received. |
data | any | Additional data associated with the real-time event. |
Returns
void