JezK
Edit File: flat_map-i.ri
U:RDoc::AnyMethod[iI" flat_map:EFI"!Concurrent::Promise#flat_map;FF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"NYield the successful result to the block that returns a promise. If that ;TI"Qpromise is also successful the result is the result of the yielded promise. ;TI"/If either part fails the whole also fails.;To:RDoc::Markup::BlankLine o; ; [I" @example;To:RDoc::Markup::Verbatim; [I"SPromise.execute { 1 }.flat_map { |v| Promise.execute { v + 2 } }.value! #=> 3 ;T:@format0o; ; [I"@return [Promise];T: @fileI"lib/concurrent/promise.rb;T:0@omit_headings_from_table_of_contents_below000[ I" (&block);T@FI"Promise;FcRDoc::NormalClass00