Method: Flydata::QueueableThread#join
- Defined in:
- lib/flydata/queueable_thread.rb
#join ⇒ Object
16 17 18 19 20 |
# File 'lib/flydata/queueable_thread.rb', line 16 def join @stop = true @queue << nil if @queue.empty? # wake up the thread @thread.join end |