This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * A new instance of deferred is constructed by calling `new DeferredPromse<T>()`. | |
| * The purpose of the deferred object is to expose the associated Promise | |
| * instance APIs that can be used for signaling the successful | |
| * or unsuccessful completion, as well as the state of the task. | |
| * @export | |
| * @class DeferredPromise | |
| * @implements {Promise<T>} | |
| * @template T | |
| * @example |