calckey/packages/firefish-js/markdown/firefish-js.channelconnecti...

661 B

Home > firefish-js > ChannelConnection > (constructor)

ChannelConnection.(constructor)

Constructs a new instance of the Connection class

Signature:

constructor(stream: Stream, channel: string, name?: string);

Parameters

Parameter Type Description
stream Stream
channel string
name string (Optional)