Class ChannelMultiplexer

The write buffers in this implementation immediately write to the underlying channel, so we rely on writers to the multiplexed channels to always commit their messages and always in one go.

Implements

Constructors

Properties

onOpenChannelEmitter: Emitter<{
    channel: Channel;
    id: string;
}> = ...

Type declaration

openChannels: Map<string, ForwardingChannel> = ...
pendingOpen: Map<string, ((channel) => void)> = ...

Type declaration

toDispose: DisposableCollection = ...
underlyingChannel: Channel

Accessors

Methods