File: //usr/local/rvm/gems/ruby-3.0.2/doc/concurrent-ruby-1.1.9/ri/Concurrent/Promise/flat_map-i.ri
U:RDoc::AnyMethod[iI"
flat_map:ETI"!Concurrent::Promise#flat_map;TF: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-ruby/concurrent/promise.rb;T:0@omit_headings_from_table_of_contents_below000[ I"
(&block);T@FI"Promise;TcRDoc::NormalClass00