CustomExecution

Class used to execute an extension callback as a task.

Online Documentation

Constructors

Link copied to clipboard
constructor(callback: (resolvedDefinition: TaskDefinition) -> PromiseLike<Pseudoterminal>)

Constructs a CustomExecution task object. The callback will be executed when the task is run, at which point the extension should return the Pseudoterminal it will "run in". The task should wait to do further execution until Pseudoterminal.open is called. Task cancellation should be handled using Pseudoterminal.close. When the task is complete fire Pseudoterminal.onDidClose.