Type alias messageCallback<T>

messageCallback<T>: ((message: T) => void)

Type Parameters

Type declaration

    • (message: T): void
    • A callback which returns only a single argument, used for RealtimeChannelBase subscriptions.

      Parameters

      • message: T

        The message which triggered the callback.

      Returns void

Generated using TypeDoc