A possibly asynchronous value.
A value supplied either directly or as a promise, so that consumers await it uniformly without forcing every provider to be asynchronous; any thenable is accepted, not just a native Promise.
Promise
The type of the supplied value
A possibly asynchronous value.
A value supplied either directly or as a promise, so that consumers await it uniformly without forcing every provider to be asynchronous; any thenable is accepted, not just a native
Promise.