await Maybe
Awaits the result of a Deferred and wraps it as a Maybe.
If the Deferred completes successfully, the result is wrapped as a Success. If it fails with an exception or is cancelled, an emptyFailure is returned.
Return
A Maybe containing the awaited value or an emptyFailure if an exception occurred.
Parameters
T
The type of the value to await.