NAME

Promise::ES6::AnyEvent - Promises/A+-compliant promises

DEPRECATION NOTICE

This module is deprecated and will go away eventually. Use use_event() instead, as described in Promise::ES6’s documentation.

DESCRIPTION

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.

SEE ALSO

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.