Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const onDidEndTask

onDidEndTask: Event<TaskEndEvent>

Fires when a task ends.

Const onDidEndTaskProcess

onDidEndTaskProcess: Event<TaskProcessEndEvent>

Fires when the underlying process has ended. This event will not fire for tasks that don't execute an underlying process.

Const onDidStartTask

onDidStartTask: Event<TaskStartEvent>

Fires when a task starts.

Const onDidStartTaskProcess

onDidStartTaskProcess: Event<TaskProcessStartEvent>

Fires when the underlying process has been started. This event will not fire for tasks that don't execute an underlying process.

Const taskExecutions

taskExecutions: ReadonlyArray<TaskExecution>

The currently active task executions or an empty array.

Functions

executeTask

fetchTasks

  • Fetches all tasks available in the systems. This includes tasks from tasks.json files as well as tasks from task providers contributed through extensions and plugins.

    Parameters

    • Optional filter: TaskFilter

      a filter to filter the return tasks.

    Returns PromiseLike<Task[]>

registerTaskProvider