Class: DeferrableGratification::Combinators::Join::FirstSuccess

Inherits:
DeferrableGratification::Combinators::Join show all
Defined in:
lib/deferrable_gratification/combinators/join.rb

Overview

Combinator that waits for any of the supplied asynchronous operations to succeed, and succeeds with the result of the first (chronologically) to do so.

This Deferrable will fail if all the operations fail. It may never succeed or fail, if one of the operations also does not.

You probably want to call ClassMethods#join_first_success rather than using this class directly.

Method Summary

Methods inherited from DeferrableGratification::Combinators::Join

#initialize, #setup!, setup!

Constructor Details

This class inherits a constructor from DeferrableGratification::Combinators::Join