Creates a 'promise' from a 'mirai_map'. S3 method for
promises::as.promise().
Usage
# S3 method for class 'mirai_map'
as.promise(x)Details
Allows a 'mirai_map' to be used with the promise pipe %...>%, scheduling a
function to run upon resolution of all mirai.
Uses promises::promise_all() internally: resolves to a list of values if
all succeed, or rejects with the first error encountered.
Requires the promises package.
