Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ForwardingChannel

Helper class to implement the single channels on a ChannelMultiplexer. Simply forwards write requests to the given write buffer source i.e. the main channel of the ChannelMultiplexer.

Hierarchy

Index

Constructors

Properties

closeHandler: (() => void)

Type declaration

    • (): void
    • Returns void

id: string
onCloseEmitter: Emitter<ChannelCloseEvent> = ...
onErrorEmitter: Emitter<unknown> = ...
onMessageEmitter: Emitter<MessageProvider> = ...
toDispose: DisposableCollection = ...
writeBufferSource: (() => WriteBuffer)

Type declaration

Accessors

  • get onError(): Event<unknown>

Methods

  • close(): void