HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-3.0.2/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::BlankLineo;
;	[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