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

Changes for version 0.90

  • !! ----------------------------------- !! !! BACKWARDS COMPATIBILITY WARNING !! !! ----------------------------------- !! !! This is the first step towards full !! !! compatibility with the Promises/A+ !! !! spec, at which we will declare this !! !! to be module to be 1.0 !! !! ----------------------------------- !!
    • NOTE: Pretty much everything in this release is thanks to the work of Clinton Gormley++
  • Fixed the behavior of finally() to make sure @results are passed along correctly
  • Handle any "then"-able object to be returned as a result, instead of only accepting Promise objects
  • then/done/finally now accept both callbacks (CODE refs) and "Callable" objects (objects of classes that overload the CODE de-ref operator)
  • New docs in Promises::Cookbook::GentleIntro.
  • Doc fixes and CPAN repository metadata added, thanks to David Steinbrunner for this

Documentation

Examples of chaining/pipelining of asynchronous operations
All you need to know about Promises
Examples of recursive asynchronous operations
A comparison of Scala Futures with Promises
A breakdown of the SYNOPSIS section of Promises
Counter examples to Promises

Modules

An implementation of Promises in Perl
An implementation of Promises in Perl
An implementation of Promises in Perl
An implementation of Promises in Perl
An implementation of Promises in Perl
An implementation of Promises in Perl
An implementation of Promises in Perl