Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Rinda/NotifyTemplateEntry/cdesc-NotifyTemplateEntry.ri
Arrière
U:RDoc::NormalClass[iI"NotifyTemplateEntry:ETI"Rinda::NotifyTemplateEntry;TI"Rinda::TemplateEntry;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"OA NotifyTemplateEntry is returned by TupleSpace#notify and is notified of ;TI"NTupleSpace changes. You may receive either your subscribed event or the ;TI"5'close' event when iterating over notifications.;To:RDoc::Markup::BlankLine o; ;[I">See TupleSpace#notify_event for valid notification types.;T@S:RDoc::Markup::Heading: leveli: textI"Example;T@o:RDoc::Markup::Verbatim;[ I" ts = Rinda::TupleSpace.new ;TI")observer = ts.notify 'write', [nil] ;TI" ;TI"Thread.start do ;TI"! observer.each { |t| p t } ;TI" end ;TI" ;TI""3.times { |i| ts.write [i] } ;T:@format0o; ;[I" Outputs:;T@o;;[I"['write', [0]] ;TI"['write', [1]] ;TI"['write', [2]];T;0: @fileI"lib/rinda/tuplespace.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I" class;T[[:public[[I"new;TI"lib/rinda/tuplespace.rb;T[:protected[ [:private[ [I" instance;T[[;[[I" each;F@7[I"notify;F@7[I"pop;F@7[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@+I" Rinda;FcRDoc::NormalModule
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages