JezK
Edit File: wait-i.ri
U:RDoc::AnyMethod[iI" wait:EFI"Concurrent::Agent#wait;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"PBlocks the current thread until all actions dispatched thus far, from this ;TI"Othread or nested by the Agent, have occurred, or the timeout (in seconds) ;TI"Khas elapsed. Will block indefinitely when timeout is nil or not given.;To:RDoc::Markup::BlankLine o; ; [I"PProvided mainly for consistency with other classes in this library. Prefer ;TI")the various `await` methods instead.;T@o; ; [I"B@param [Float] timeout the maximum number of seconds to wait ;TI"M@return [Boolean] true if all actions complete before timeout else false;T@o; ; [I" @!macro agent_await_warning;T: @fileI"lib/concurrent/agent.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(timeout = nil);T@FI" Agent;FcRDoc::NormalClass00