Interface Channels<T>

Creates and destroys Channel and RealtimeChannel objects.

Type Parameters

  • T

Hierarchy

  • Channels

Properties

all

Methods

Properties

all: Record<string, T>

All of the channels that exist in this Channels object.

Channels are added here when created using get, and removed when released using release.

Methods

  • Releases a Channel or RealtimeChannel object, deleting it, and enabling it to be garbage collected. To release a channel, the ChannelState must be INITIALIZED, DETACHED, or FAILED.

    Parameters

    • name: string

      The channel name.

    Returns void

Generated using TypeDoc