$ModuleTasks$Typings extension
- on
Properties
-
onDidEndTask
→ Event<
TaskEndEvent> -
Fires when a task ends.
no setter
-
onDidEndTaskProcess
→ Event<
TaskProcessEndEvent> -
Fires when the underlying process has ended.
This event will not fire for tasks that don't
execute an underlying process.
no setter
-
onDidStartTask
→ Event<
TaskStartEvent> -
Fires when a task starts.
no setter
-
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.
no setter
-
taskExecutions
→ List<
TaskExecution> -
The currently active task executions or an empty array.
no setter
Methods
-
executeTask(
Task task) → Future - Executes a task that is managed by the editor. The returned task execution can be used to terminate the task.
-
fetchTasks(
[TaskFilter? filter]) → Future -
Fetches all tasks available in the systems. This includes tasks
from
tasks.json
files as well as tasks from task providers contributed through extensions.