-
-
25 May 2021 16:53:07 UTC
- Distribution: Mojo-Promise-Role-HigherOrder
- Module version: 1.005
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (11 / 0 / 0)
- Kwalitee
Bus factor: 1- 100.00% Coverage
- License: artistic_2
- Perl: v5.22.0
- Activity
24 month- Tools
- Download (11.44KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Carp
- Mojolicious
- Role::Tiny
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Mojo::Promise::Role::HigherOrder - Fulfill with the first fulfilled promise
SYNOPSIS
use Mojo::Promise; use Mojo::Promise::Role::HigherOrder; 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:
https://github.com/briandfoy/mojo-promise-role-higherorder
AUTHOR
brian d foy,
<bdfoy@cpan.org>
COPYRIGHT AND LICENSE
Copyright © 2018-2021, brian d foy, All Rights Reserved.
You may redistribute this under the terms of the Artistic License 2.0.
Module Install Instructions
To install Mojo::Promise::Role::HigherOrder, copy and paste the appropriate command in to your terminal.
cpanm Mojo::Promise::Role::HigherOrder
perl -MCPAN -e shell install Mojo::Promise::Role::HigherOrder
For more information on module installation, please visit the detailed CPAN module installation guide.