Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TasksExtImpl

Implements

Index

Constructors

Properties

adaptersMap: Map<number, TaskProviderAdapter> = ...
callId: number = 0
callbackId: number
callbackIdBase: string = ...
customExecutionFunctions: Map<string, ExecutionCallback> = ...
customExecutionIds: Map<ExecutionCallback, string> = ...
executions: Map<number, TaskExecution> = ...
lastStartedTask: undefined | number
onDidExecuteTask: Emitter<TaskStartEvent> = ...
onDidExecuteTaskProcess: Emitter<TaskProcessStartEvent> = ...
onDidTerminateTask: Emitter<TaskEndEvent> = ...
onDidTerminateTaskProcess: Emitter<TaskProcessEndEvent> = ...
proxy: TasksMain

Accessors

  • get onDidEndTask(): Event<TaskEndEvent>
  • get onDidEndTaskProcess(): Event<TaskProcessEndEvent>
  • get onDidStartTask(): Event<TaskStartEvent>
  • get onDidStartTaskProcess(): Event<TaskProcessStartEvent>
  • get taskExecutions(): readonly TaskExecution[]

Methods

  • $onDidEndTask(id: number): void
  • $onDidEndTaskProcess(exitCode: number, taskId: number): void
  • $provideTasks(handle: number): Promise<undefined | TaskDto[]>
  • $resolveTask(handle: number, task: TaskDto, token: CancellationToken): Promise<undefined | TaskDto>
  • addCustomExecution(callback: ExecutionCallback): string
  • createDisposable(callId: number): Disposable
  • executeTask(task: Task): Promise<TaskExecution>
  • fetchTasks(filter?: TaskFilter): Promise<Task[]>
  • nextCallId(): number
  • nextCallbackId(): string
  • registerTaskProvider(type: string, provider: TaskProvider<Task>): Disposable