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-2.5.9/doc/concurrent-ruby-1.1.9/ri/Concurrent/Future/execute-c.ri
U:RDoc::AnyMethod[iI"execute:ETI" Concurrent::Future::execute;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"SCreate a new `Future` object with the given block, execute it, and return the ;TI"`:pending` object.;To:RDoc::Markup::BlankLineo;
;	[I"1@yield the asynchronous operation to perform;T@o;
;	[I"'@!macro executor_and_deref_options;T@o;
;	[I"T@option opts [object, Array] :args zero or more arguments to be passed the task;To:RDoc::Markup::Verbatim;	[I"block on execution
;T:@format0o;
;	[I"0@raise [ArgumentError] if no block is given;T@o;
;	[I"H@return [Future] the newly created `Future` in the `:pending` state;T@o;
;	[I"
@example;To;;	[I"9future = Concurrent::Future.execute{ sleep(1); 42 }
;TI"future.state #=> :pending;T;
0:
@fileI"-lib/concurrent-ruby/concurrent/future.rb;T:0@omit_headings_from_table_of_contents_below000[I"(opts = {}, &block);T@)FI"Future;TcRDoc::NormalClass00