









# Interface: `Promise`



Represents the completion of an asynchronous operation



## Methods

|Method | Parameters | Description | ReturnType | Optional|
|--- | --- | --- | --- | ---|
|catch | **`onrejected`**: *(Optional)*  ObjectLiteral  - The callback to execute when the Promise is rejected. | Attaches a callback for only the rejection of the Promise. | [Promise](README.md)\<T ǀ TResult\> | |
|then | **`onfulfilled`**: *(Optional)*  ObjectLiteral  - The callback to execute when the Promise is resolved.<br>**`onrejected`**: *(Optional)*  ObjectLiteral  - The callback to execute when the Promise is rejected. | Attaches callbacks for the resolution and/or rejection of the Promise. | [Promise](README.md)\<TResult1 ǀ TResult2\> | |
