Class Controller

Action controller

Hierarchy

  • Controller

Methods

  • Notify the bus about action canceled event

    Parameters

    • action: Action

      action to notify about

    Returns Promise<void>

  • Notify the bus about action completed event

    Parameters

    • action: Action

      action to notify about

    • Optional out: any

      output result

    Returns Promise<void>

  • Notify the bus about action failed event

    Parameters

    • action: Action

      action to notify about

    • Optional out: any

      output result

    • Optional err: any

      error message

    • Optional exitcode: number

      exit code (default: -1)

    Returns Promise<void>

  • Notify the bus about action pending event

    Parameters

    • action: Action

      action to notify about

    Returns Promise<void>

  • Notify the bus about action running event

    Parameters

    • action: Action

      action to notify about

    Returns Promise<void>

  • Notify the bus about action terminated event

    Parameters

    • action: Action

      action to notify about

    Returns Promise<void>

Generated using TypeDoc