Method: ConcurrentWorker::Worker#join

Defined in:
lib/concurrent_worker/worker.rb

#joinObject



194
195
196
197
198
199
200
201
202
# File 'lib/concurrent_worker/worker.rb', line 194

def join
  unless @state == :run
    return true
  end
  @req_counter.wait_until_less_than(1)
  quit
  wait_cncr_proc
  true
end