RubyGems.org

Deferrable Gratification (DG) facilitates asynchronous programming in Ruby, by helping create abstractions around complex operations built up from simpler ones. It helps make asynchronous code less error-prone and easier to compose. It also provides some enhancements to the Deferrable API. Features include: * fluent (aka chainable) syntax for registering multiple callbacks and errbacks to the same Deferrable. * a #bothback method for registering code to run on either success or failure. * a combinator library for building up complex asynchronous operations out of simpler ones.

installgem install deferrable_gratification -v 0.3.0
Authors

Sam Stokes

17,105 total downloads 1,430 for this version
Owners

56cd5f806a8cebda6c8d1a33799724df

Gemfile
gem 'deferrable_gratification', '~> 0.3.0'
Versions
  1. 0.3.1 July 20, 2011 (16.5 KB)
  2. 0.3.0 March 25, 2011 (16.5 KB)
  3. 0.2.0 January 21, 2011 (15.5 KB)
  4. 0.1.0 January 15, 2011 (10 KB)
Runtime Dependencies
  1. eventmachine >= 0