interface Deferred<T> {
    notify: ((arg0: any) => void);
    promise: QPromise<T>;
    reject: ((arg0: any) => void);
    resolve: ((arg0: T | QPromise<T>) => void);
}

Type Parameters

  • T

Properties

notify: ((arg0: any) => void)

Provides a progress notification.

promise: QPromise<T>

The promise associated with this deferred object.

reject: ((arg0: any) => void)

Rejects the promise with a reason.

resolve: ((arg0: T | QPromise<T>) => void)

Resolves the promise with a value or another promise.