HandlerRegistry: {
    has(id: string): boolean;
    invoke(id: string, ...args: any[]): any;
    keys(): string[];
    register(id: string, handler: AnyFunction<any[], any>): void;
}

Type declaration

  • has:function
  • invoke:function
    • invoke a registered command.

      Parameters

      • id: string
      • Rest ...args: any[]

        arguments for the command

      Returns any

  • keys:function
  • register:function
    • register handler for the specified command.

      Parameters

      • id: string
      • handler: AnyFunction<any[], any>

      Returns void

Generated using TypeDoc