destroy_channel
Permanently removes a live communication channel and its membership storage.
Function
Synopsis
mux.comsys.destroy_channel( channel )
Arguments
Channel channel- A live channel handle.
Returns
Nothing.
Raises
mux.unavailable.checkingduring@lua/check.mux.channel.invalidwhen the channel handle is stale.
Notes
The supplied handle and every ChannelFlags handle derived from it become
stale. A later channel created with the same name does not revive them.
Example
local staff = mux.comsys.create_channel("Staff")
mux.comsys.destroy_channel(staff)