Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TaskServerImpl

Hierarchy

  • TaskServerImpl

Implements

Index

Constructors

Properties

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

Map of task id and task background status.

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

  • cacheProblemCollector(ctx: string, taskId: number, problemCollector: ProblemCollector): void
  • customExecutionComplete(id: number, exitCode: undefined | number): Promise<void>
  • dispose(): void
  • disposeByTaskId(taskId: number): void
  • getCachedProblemCollector(ctx: string, taskId: number): undefined | ProblemCollector
  • getRegisteredTaskTypes(): Promise<string[]>
  • getTasks(context?: string): Promise<TaskInfo[]>
  • kill(id: number): Promise<void>
  • removedCachedProblemCollector(ctx: string, taskId: number): void