Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "pack/job/invokeCommand"

Index

Functions

Functions

invokeCommand

  • Invoke any registered command programmatically in this SDM instance

    Type parameters

    • T: ParameterType

    Parameters

    • command: string | CommandRegistration<T>

      name of the CommandRegistration or actual CommandRegistration instance to run

    • parameters: T

      parameters to be passed to the command

    • ctx: HandlerContext

      HandlerContext instance

    Returns Promise<HandlerResult>

Generated using TypeDoc