Skip to main content
Version: 0.8.0

Class: ServerChannelManager

Constructors​

Constructor​

new ServerChannelManager(client, server): ServerChannelManager

Parameters​

ParameterType
clientClient
serverServer

Returns​

ServerChannelManager

Properties​

client​

client: Client


server​

server: Server

Accessors​

cache​

Get Signature​

get cache(): Collection<string, BaseChannel>

Returns​

Collection<string, BaseChannel>

Methods​

[custom]()​

[custom](): Collection<string, BaseChannel>

Returns​

Collection<string, BaseChannel>


create()​

create(options): Promise<BaseChannel>

Creates a new channel within this server.

Parameters​

ParameterTypeDescription
optionsChannelCreateOptionsThe configuration for the new channel.

Returns​

Promise<BaseChannel>

The newly created Channel object.