Theia API Documentation v1.65.0
    Preparing search index...
    • Show progress in the Source Control viewlet while running the given callback and while its returned promise isn't resolve or rejected.

      Type Parameters

      • R

      Parameters

      • task: (progress: Progress<number>) => Thenable<R>

        A callback returning a promise. Progress increments can be reported with the provided Progress-object.

      Returns Thenable<R>

      The thenable the task did return.

      Use withProgress instead.