class DeferrableGratification::Combinators::Join::Successes
Combinator that waits for all of the supplied asynchronous operations to succeed or fail, then succeeds with the results of all those operations that were successful.
This Deferrable will never fail. It may also never succeed, if any of the supplied operations does not either succeed or fail.
The successful results are guaranteed to be in the same order as the operations were passed in (which may not be the same as the chronological order in which they succeeded).
You probably want to call {ClassMethods#join_successes} rather than using this class directly.
Private Instance Methods
done?()
click to toggle source
# File lib/deferrable_gratification/combinators/join.rb, line 67 def done? all_completed? end
finish()
click to toggle source
# File lib/deferrable_gratification/combinators/join.rb, line 71 def finish succeed(successes) end