Theia API Documentation v1.65.0
    Preparing search index...

    Class TaskAbstract

    A Task represents the execution state of a TaskConfiguration. Implementing classes have to call the Task#fireOutputLine function whenever a new output occurs during the execution.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    exitEmitter: Emitter<TaskExitedEvent>
    logger: ILogger
    options: TaskOptions
    outputEmitter: Emitter<TaskOutputEvent>
    taskId: number
    taskManager: ManagedTaskManager<Task>
    toDispose: DisposableCollection = ...

    Accessors

    Methods

    • Terminate this task.

      Returns Promise<void>

      a promise that resolves once the task has been properly terminated.