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.
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.
NOTE: This module requires Mojolicious version 4.85 or higher.
To install Promise::ES6, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.