Theia API Documentation v1.65.0
    Preparing search index...
    interface Progress {
        cancel: () => void;
        id: string;
        report: (update: ProgressUpdate) => void;
        result: Promise<undefined | string>;
    }
    Index

    Properties

    Properties

    cancel: () => void

    Cancel or complete the current progress.

    id: string

    Unique progress id.

    report: (update: ProgressUpdate) => void

    Update the current progress.

    Type Declaration

    result: Promise<undefined | string>

    Result of the progress.

    a promise which resolves to either 'Cancel', an alternative action or undefined.