Creates a new resolved promise.
method
PromiseConstructor.resolve
@returns
A resolved promise.
@param value
A promise.
@returns
A promise whose internal state matches the provided promise.
value: T | PromiseLike<T>
): Promise<Awaited<T>>;
Creates a new resolved promise for the provided value.
@param value
A promise.
@returns
A promise whose internal state matches the provided promise.