Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "pack/job/invokeCommand"

Index

Functions

Functions

invokeCommand

  • invokeCommand<T>(command: string | CommandRegistration<T>, parameters: T, ctx: HandlerContext): Promise<HandlerResult>
  • Invoke any registered command programmatically in this SDM instance

    @param command name of the CommandRegistration or actual CommandRegistration instance to run @param parameters parameters to be passed to the command @param ctx HandlerContext instance

    Type parameters

    • T: ParameterType

    Parameters

    • command: string | CommandRegistration<T>
    • parameters: T
    • ctx: HandlerContext

    Returns Promise<HandlerResult>

Generated using TypeDoc