Class EventTargetMessageBus<Msg>

Implementation of MessageBus that wraps an EventTarget.

Type Parameters

  • Msg

Implements

Constructors

Properties

Methods

Constructors

Properties

defaultTopic: string = 'event'

Name of the default event type to emit.

dispatcher: EventDispatcher<[TypedCustomEvent<string, Msg>]> = ...

Underlying dispatcher to use.

Methods

Generated using TypeDoc