The return type of the function.
The type of the object to coalesce to.
The type of the error filter.
The asynchronous function to execute.
The result we want to return when the function errors.
Optional
filter: TFilterAn Error
subclass. If defined, only errors of
this type will be coalesced.
Whatever the function resolved to, or the provided replacement, in case the function failed.
Executes an asynchronous function and resolves with an alternative result in case the function failed.