Method: ConcurrentWorker::ConcurrentThread#cncr_block

Defined in:
lib/concurrent_worker/worker.rb

#cncr_blockObject



207
208
209
210
211
212
# File 'lib/concurrent_worker/worker.rb', line 207

def cncr_block
  @thread_channel = Queue.new
  @thread = result_handle_thread do
    yield_base_block
  end
end