Class: ServerChannelManager
Constructors
Constructor
new ServerChannelManager(
client,server):ServerChannelManager
Parameters
| Parameter | Type |
|---|---|
client | Client |
server | Server |
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
| Parameter | Type | Description |
|---|---|---|
options | ChannelCreateOptions | The configuration for the new channel. |
Returns
Promise<BaseChannel>
The newly created Channel object.