Skip to main content

Task

Class

Namespace 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

ClassDescription
ITaskManagerInterface for a plugin component that manages pending tasks and exposes a promise that resolves when all tasks complete.
TaskManagerConcrete implementation of ITaskManager that tracks and coordinates task completion within the editor.