Skip to main content

Home > flowp > ChannelHub > disconnect

ChannelHub.disconnect() method

diconnect a channel from the hub, could be a reader or a writer

disconnected channel will NOT be closed automatically, they can still be used to send and receive messages

Signature:

disconnect(ch: Channel<T>): void;

Parameters

ParameterTypeDescription
chChannel<T>

Returns:

void