Represents an asynchronous Option that is wrapped in a Promise.
This type alias is used for functions that perform asynchronous operations
and return an Option as the result.
Type Parameters
T
The type of the value that may be contained in the Some variant.
Represents an asynchronous
Optionthat is wrapped in aPromise. This type alias is used for functions that perform asynchronous operations and return anOptionas the result.