Method: ConcurrentWorker::Worker#undone_requests

Defined in:
lib/concurrent_worker/worker.rb

#undone_requestsObject (readonly)

Worker : worker class

+cncr_block         : concurrent processing block : thread(as ConcurrentThread)/process(as ConcurrentProcess)
  +base_block       : user defined preparation to exec 'work block'
    +loop_block     : loop of receiving request and exec 'work block'
      +work_block   : user requested work

These blocks are executed with ‘instance_exec’ method of worker, so that they can share instance variables:@xxxx.



13
14
15
# File 'lib/concurrent_worker/worker.rb', line 13

def undone_requests
  @undone_requests
end