API Reference
type RealtimeEventCallback: (event, data) => void;

A callback function type used for handling real-time events.

Parameters

ParameterTypeDescription
eventRealtimeEventThe type of real-time event being received.
dataanyAdditional data associated with the real-time event.

Returns

void