JezK
Edit File: all%3f-c.ri
U:RDoc::AnyMethod[iI" all?:EFI"Concurrent::Promise::all?;FT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"KAggregates a collection of promises and executes the `then` condition ;TI"Lif all aggregated promises succeed. Executes the `rescue` handler with ;TI"Ma `Concurrent::PromiseExecutionError` if any of the aggregated promises ;TI"Jfail. Upon execution will execute any of the aggregate promises that ;TI"were not already executed.;To:RDoc::Markup::BlankLine o; ; [I",@!macro [attach] promise_self_aggregate;T@o:RDoc::Markup::Verbatim; [I"NThe returned promise will not yet have been executed. Additional `#then` ;TI"Mand `#rescue` handlers may still be provided. Once the returned promise ;TI"Nis execute the aggregate promises will be also be executed (if they have ;TI"Lnot been executed already). The results of the aggregate promises will ;TI"Lbe checked upon completion. The necessary `#then` and `#rescue` blocks ;TI"Mon the aggregating promise will then be executed as appropriate. If the ;TI"B`#rescue` handlers are executed the raises exception will be ;TI"*`Concurrent::PromiseExecutionError`. ;TI" ;TI"@@param [Array] promises Zero or more promises to aggregate ;TI"M@return [Promise] an unscheduled (not executed) promise that aggregates ;TI"& the promises given as arguments;T:@format0: @fileI"lib/concurrent/promise.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*promises);T@$FI"Promise;FcRDoc::NormalClass00