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

Changes for version 0.20

  • BREAKING CHANGE (minor): finally() callbacks now run in scalar context. (The return is ignored, though, unless you return a promise that rejects.)
  • BUG FIX: finally() callbacks now handle rejected promises as returns according to the ES6 specification.
  • BUG FIX: Promises that reject because a rejected promise was returned from a callback will now warn if the “consequent” rejection is unhandled.

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