Task
ClassNamespace providing task management utilities for tracking and coordinating asynchronous operations.
Example
const taskManager = this.pluginSystem.findInterface(
Task.ITaskManager
) as Task.ITaskManager;
taskManager.whenAllCompleted().then(() => {
console.log('All tasks completed');
});
Nested types
Classes
| Class | Description |
|---|---|
| ITaskManager | Interface for a plugin component that manages pending tasks and exposes a promise that resolves when all tasks complete. |
| TaskManager | Concrete implementation of ITaskManager that tracks and coordinates task completion within the editor. |