Preparing search index...

    Interface for a plugin component that manages pending tasks and exposes a promise that resolves when all tasks complete.

        const taskManager = this.pluginSystem.findInterface(
    Task.ITaskManager
    ) as Task.ITaskManager;
    taskManager.whenAllCompleted().then(() => {
    console.log('All pending tasks completed');
    });
    console.log(`ITaskManager.interfaceId: ${Task.ITaskManager.interfaceId}`);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    interfaceId: InterfaceId

    Unique identifier for the ITaskManager interface, used for component lookup.

    Methods

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean

    • Returns a promise that resolves when all pending tasks have completed.

      Returns Promise<void>