mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 15:55:59 +01:00
add task status API (#243092)
This commit is contained in:
@@ -1357,6 +1357,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
},
|
||||
onDidEndTaskProcess: (listeners, thisArgs?, disposables?) => {
|
||||
return _asExtensionEvent(extHostTask.onDidEndTaskProcess)(listeners, thisArgs, disposables);
|
||||
},
|
||||
onDidChangeTaskStatus: (listeners) => {
|
||||
checkProposedApiEnabled(extension, 'taskStatus');
|
||||
return _asExtensionEvent(extHostTask.onDidChangeTaskTerminalStatus)(listeners);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1654,6 +1658,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
SymbolKind: extHostTypes.SymbolKind,
|
||||
SymbolTag: extHostTypes.SymbolTag,
|
||||
Task: extHostTypes.Task,
|
||||
TaskEventKind: extHostTypes.TaskEventKind,
|
||||
TaskGroup: extHostTypes.TaskGroup,
|
||||
TaskPanelKind: extHostTypes.TaskPanelKind,
|
||||
TaskRevealKind: extHostTypes.TaskRevealKind,
|
||||
|
||||
Reference in New Issue
Block a user