File: //usr/local/rvm/gems/ruby-2.6.8/doc/concurrent-ruby-1.1.9/ri/Concurrent/IVar/add_observer-i.ri
U:RDoc::AnyMethod[iI"add_observer:ETI""Concurrent::IVar#add_observer;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MAdd an observer on this object that will receive notification on update.;To:RDoc::Markup::BlankLine o;
; [
I"PUpon completion the `IVar` will notify all observers in a thread-safe way. ;TI"PThe `func` method of the observer will be called with three arguments: the ;TI"L`Time` at which the `Future` completed the asynchronous operation, the ;TI"Pfinal `value` (or `nil` on rejection), and the final `reason` (or `nil` on ;TI"fulfillment).;T@o;
; [I"J@param [Object] observer the object that will be notified of changes ;TI"D@param [Symbol] func symbol naming the method to call when this;To:RDoc::Markup::Verbatim; [I"`Observable` has changes`;T:@format0:
@fileI"+lib/concurrent-ruby/concurrent/ivar.rb;T:0@omit_headings_from_table_of_contents_below000[ I"-(observer = nil, func = :update, &block);T@FI" IVar;TcRDoc::NormalClass00