Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace tasks

Index

Functions

registerTask

  • registerTask(task: string, callback: ITaskHandler, thisArg?: any): vscode.Disposable
  • Registers a task that can be invoked via a keyboard shortcut, a menu item, an action, or directly.

    Registering a task with an existing task identifier twice will cause an error.

    Parameters

    • task: string

      A unique identifier for the task.

    • callback: ITaskHandler

      A task handler function.

    • Optional thisArg: any

      The this context used when invoking the handler function.

    Returns vscode.Disposable

    Disposable which unregisters this task on disposal.

startBackgroundOperation

  • Starts an operation to run in the background

    Parameters

    Returns void

Generated using TypeDoc