Method: Rinda::NotifyTemplateEntry#each
- Defined in:
- lib/rinda/tuplespace.rb
#each ⇒ Object
Yields event/tuple pairs until this NotifyTemplateEntry expires.
273 274 275 276 277 278 279 280 281 |
# File 'lib/rinda/tuplespace.rb', line 273 def each # :yields: event, tuple while !@done it = pop yield(it) end rescue ensure cancel end |