The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.21

  • BUG FIX: all() and race() now recognize all “then()”-able objects (not merely Promise::ES6 instances) as promises.
  • BUG FIX: Exceptions thrown in finally() callbacks are now assigned as the promise’s rejection value. (Previously undef was errantly assigned as the rejection value.)

Modules

ES6-style promises in Perl
Promises/A+-compliant promises
Translation to/from Future
Promises/A+-compliant promises for IO::Async
Promises/A+-compliant promises for Mojolicious

Provides

in lib/Promise/ES6/Backend/PP.pm
in lib/Promise/ES6/EventLoopBase.pm
in lib/Promise/ES6/IOAsync.pm