NAME
Mojo::Promise::Role::HigherOrder - Fulfill with the first fulfilled promise
SYNOPSIS
use
Mojo::Promise;
my
$any_promise
= Mojo::Promise
->with_roles(
'+Any'
)
# or +None or +Some
->any(
@promises
);
DESCRIPTION
This module is an umbrella for Mojo::Promise::Role::Any, Mojo::Promise::Role::None, and Mojo::Promise::Role::Some.
SEE ALSO
Mojolicious, Mojo::Promise, Role::Tiny
http://bluebirdjs.com/docs/api/promise.any.html
SOURCE AVAILABILITY
This source is in Github:
AUTHOR
brian d foy, <briandfoy@pobox.com>
COPYRIGHT AND LICENSE
Copyright © 2018-2025, brian d foy, All Rights Reserved.
You may redistribute this under the terms of the Artistic License 2.0.