Promise::ES6::Mojo - Promises/A+-compliant promises for Mojolicious
This module is deprecated and will go away eventually. Use use_event() instead, as described in Promise::ES6’s documentation.
use_event()
This module exposes the same functionality as Promise::ES6::AnyEvent but for Mojo::IOLoop rather than AnyEvent.
Its interface is almost compatible with the ES6-derived portions of Mojo::Promise, but note that Mojo::Promise’s all() and race() methods accept a list of promises rather than an array reference.
all()
race()
NOTE: This module requires Mojolicious version 4.85 or higher.
To install Promise::ES6, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Promise::ES6
CPAN shell
perl -MCPAN -e shell install Promise::ES6
For more information on module installation, please visit the detailed CPAN module installation guide.