Wraps a value in an asynchronous function.
The type of value being wrapped
The value to be wrapped
A function that returns a promise resolving to the value
Wraps a value in an asynchronous function.