Implements

Constructors

Properties

backgroundTaskStatusMap: Map<number, {
    isActive: boolean;
}> = ...

Map of task id and task background status.

Type declaration

  • isActive: boolean
clients: TaskClient[] = []

Task clients, to send notifications-to.

logger: ILogger
problemCollectors: Map<string, Map<number, ProblemCollector>> = ...

task context - {task id - problem collector}

runnerRegistry: TaskRunnerRegistry
taskManager: TaskManager
toDispose: Map<number, DisposableCollection> = ...

Map of task id and task disposable

Methods

  • Returns a list of currently running tasks. If a context is provided, only the tasks started in that context will be provided. Using an undefined context matches all tasks, no matter the creation context.

    Parameters

    • Optional context: string

    Returns Promise<TaskInfo[]>