Asynchronous version of fallback(). The decorated function returns a
promise that resolves to value (or the result of
handler) if the wrapped function rejects or throws with a condition in
class. Other rejections carry on unchanged. Needs the promises package.
Examples
if (FALSE) { # \dontrun{
f := async_fallback(value = "default") %@% function() stop("boom")
promises::then(f(), print)
while (!later::loop_empty()) later::run_now(0.05)
} # }
