Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommandMappingImpl

Data object to store event command mapping data.

author

Jānis Radiņš / Kristaps Peļņa

Hierarchy

  • CommandMappingImpl

Implements

Index

Constructors

constructor

Properties

command

command: Type<Command>

Command class which to execute as event is encountered.

eventType

eventType: string

Event type command is mapped to.

Accessors

eventClass

executeOnce

  • get executeOnce(): boolean

Methods

executionAllowedByGuards

  • executionAllowedByGuards(event: Event): boolean

once

  • once(): this

withGuards