Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ActionHandler<I, O>

An action handler executes an action.

Type parameters

  • I

  • O

Hierarchy

  • ActionHandler

Callable

  • __call(action: Action<I>): O | Promise<O>
  • The handler.

    Parameters

    • action: Action<I>

      the action

    Returns O | Promise<O>

    an optional output which can be embedded within a Promise

Generated using TypeDoc