Defines the structure for promise resolution and rejection.
Properties:
Name | Type | Description |
---|---|---|
resolve |
function
|
Function to resolve the promise. |
reject |
function
|
Function to reject the promise. |