Promise::ES6::AnyEvent - Promises/A+-compliant promises
This module is deprecated and will go away eventually. Use use_event() instead, as described in Promise::ES6’s documentation.
use_event()
This subclass of Promise::ES6 incorporates AnyEvent in order to implement full Promises/A+ compliance. Specifically, this class defers execution of resolve and reject callbacks to the end of the current event loop iteration.
This distribution includes Promise::ES6::IOAsync for those who prefer IO::Async.
CPAN’s Promises, AnyEvent::Promises, and AnyEvent::XSPromises all provide functionality similar to this class’s.
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.