Interface ICommandCallback<STATE>

interface ICommandCallback<STATE> ((args?, command?) => boolean | void | Promise<void> | Promise<boolean>)

Type Parameters

  • STATE extends any = void
  • Parameters

    Returns boolean | void | Promise<void> | Promise<boolean>