Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TaskServer

Hierarchy

Index

Methods

  • customExecutionComplete(id: number, exitCode: undefined | number): Promise<void>
  • getRegisteredTaskTypes(): Promise<string[]>
  • getTasks(ctx?: string): Promise<TaskInfo[]>
  • 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 ctx: string

    Returns Promise<TaskInfo[]>

  • kill(taskId: number): Promise<void>