Creates an awaiter object along with a promise.
The type of the value to be resolved.
An array containing the promise and the awaiter object.
Creates an awaiter object along with a promise.
Function