Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommandMapping

Interface describing public API of a Command Mapping returned by CommandMap map().

author

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

Hierarchy

  • CommandMapping

Implemented by

Index

Methods

Methods

once

  • once(): this

withGuards

  • Set event guards which could prevent event listener to be executed upon some circumstances known only to guards themselves.

    Parameters

    • Rest ...guards: EventGuard[]

      List of EventGuard callback methods that might prevent execution of listener.

    Returns this

    so we can call other methods of this class instantly from return value