title | description | author | ms.author | ms.topic | ms.date | ms.reviewer | audience | ms.search.region |
---|---|---|---|---|---|---|---|---|
Deferred type<T> |
Learn about the Deferred type <T> including the properties, which includes promise, and methods, which include reject and resolve. |
jasongre |
jasongre |
article |
05/24/2022 |
johnmichalak |
Developer |
Global |
[!include banner] [!include mobile app deprecated]
Deferred
promise: Promise <T>
reject(error?: any): void
Name | Type | Description |
---|---|---|
error? | any |
resolve(value?: T | PromiseLike <T>): void
Name | Type | Description |
---|---|---|
value? | T | PromiseLike <T> |
[!INCLUDEfooter-include]