File: //usr/local/rvm/gems/ruby-2.5.9/doc/concurrent-ruby-1.1.9/ri/Concurrent/Async/async-i.ri
U:RDoc::AnyMethod[iI"
async:ETI"Concurrent::Async#async;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [
I"JCauses the chained method call to be performed asynchronously on the ;TI"Gobject's thread. The delegated method will return a future in the ;TI"J`:pending` state and the method call will have been scheduled on the ;TI"Oobject's thread. The final disposition of the method call can be obtained ;TI"'by inspecting the returned future.;To:RDoc::Markup::BlankLine o;
; [I"(@!macro async_thread_safety_warning;To:RDoc::Markup::Verbatim; [I"K@note The method call is guaranteed to be thread safe with respect to
;TI"K all other method calls against the same object that are called with
;TI"H either `async` or `await`. The mutable nature of Ruby references
;TI"K (and object orientation in general) prevent any other thread safety
;TI"O guarantees. Do NOT mix direct method calls with delegated method calls.
;TI"R Use *only* delegated method calls when sharing the object between threads.
;T:@format0o;
; [I"P@return [Concurrent::IVar] the pending result of the asynchronous operation;T@o;
; [I"L@raise [NameError] the object does not respond to the requested method ;TI"F@raise [ArgumentError] the given `args` do not match the arity of;To;; [I"the requested method;T;
0:
@fileI",lib/concurrent-ruby/concurrent/async.rb;T:0@omit_headings_from_table_of_contents_below000[[I" cast;To;; [ ;@(;0I"();T@(FI"
Async;TcRDoc::NormalModule00