Theia API Documentation v1.67.0
    Preparing search index...
    • Register the given handler for the given command identifier.

      Parameters

      • commandId: string

        a given command id

      • handler: (...args: any[]) => any

        a command handler

        Throw if a handler for the given command identifier is already registered.

      • OptionalthisArg: any

      Returns Disposable