Type alias messageCallback<T>

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

Type Parameters

  • T

Type declaration

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

      Parameters

      • message: T

        The message which triggered the callback.

      Returns void

Generated using TypeDoc