File: //usr/local/rvm/gems/ruby-2.5.9/doc/concurrent-ruby-1.1.9/ri/Concurrent/Promise/execute-c.ri
U:RDoc::AnyMethod[iI"execute:ETI"!Concurrent::Promise::execute;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"TCreate a new `Promise` object with the given block, execute it, and return the ;TI"`:pending` object.;To:RDoc::Markup::BlankLine o;
; [I"'@!macro executor_and_deref_options;T@o;
; [I"!@!macro promise_init_options;T@o;
; [I"J@return [Promise] the newly created `Promise` in the `:pending` state;T@o;
; [I"0@raise [ArgumentError] if no block is given;T@o;
; [I"
@example;To:RDoc::Markup::Verbatim; [I";promise = Concurrent::Promise.execute{ sleep(1); 42 }
;TI"promise.state #=> :pending;T:@format0:
@fileI".lib/concurrent-ruby/concurrent/promise.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(opts = {}, &block);T@#FI"Promise;TcRDoc::NormalClass00