Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

HookType

HookType: "before-run" | "after-run"

Functions

getAction

  • getAction<T>(name: T): Action<T> | undefined
  • getAction<T>(name: T): Action<T> | undefined
  • Get an action.

    Type parameters

    Parameters

    • name: T

    Returns Action<T> | undefined

  • Type parameters

    • T: string

    Parameters

    • name: T

    Returns Action<T> | undefined

getActionHandler

  • Get an action handler.

    Type parameters

    Parameters

    • name: T

    Returns ActionHandler<T>

  • Type parameters

    • T: string

    Parameters

    • name: T

    Returns ActionHandler<T>

getRawActions

  • Get all actions

    Returns Action[]

    all actions

registerAction

  • Register an action.

    Type parameters

    • T: string

    Parameters

    Returns Action<T>

    action

removeAction

  • removeAction(name: keyof BuildInActions): void
  • removeAction(name: string): void
  • Remove an action.

    Parameters

    Returns void

  • Parameters

    • name: string

    Returns void

removeActionTapper

  • removeActionTapper(tapper: (action: Action<string>) => void): void
  • Remove a action tapper.

    Parameters

    • tapper: (action: Action<string>) => void
        • (action: Action<string>): void
        • Parameters

          Returns void

    Returns void

tapAction

  • tapAction(tapper: (action: Action<string>) => void): void
  • Register a action tapper.

    Parameters

    • tapper: (action: Action<string>) => void
        • (action: Action<string>): void
        • Parameters

          Returns void

    Returns void

Generated using TypeDoc