Options
All
  • Public
  • Public/Protected
  • All
Menu

The component implements a Bridge to forward command messages from a DOM {@link EventTarget} object to a Gateway. The bridge translate DomCommand to Command and also Result to DomResult.

Hierarchy

  • CommandForwarder

Implements

  • Component

Index

Constructors

constructor

  • new CommandForwarder(target?: EventTarget, gateway: Gateway<EventBus, CommandBus, QueryBus, ObservableGateway>): CommandForwarder

Properties

Private Optional domListener

domListener?: EventListener

Readonly gateway

gateway: Gateway<EventBus, CommandBus, QueryBus, ObservableGateway>

Readonly target

target: EventTarget = window

Methods

configure

  • configure(): Promise<void>

dispose

  • dispose(): Promise<void>

Generated using TypeDoc