Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractChannel Abstract

Reusable abstract Channel implementation that sets up the basic channel event listeners and offers a generic close method.

Hierarchy

Implements

Index

Constructors

Properties

onCloseEmitter: Emitter<ChannelCloseEvent> = ...
onErrorEmitter: Emitter<unknown> = ...
onMessageEmitter: Emitter<MessageProvider> = ...
toDispose: DisposableCollection = ...

Accessors

  • get onError(): Event<unknown>

Methods

  • close(): void