class EventMachine::Queue

def num_waiting

Other tags:
    Note: - This is a peek at the number of jobs that are currently waiting on the Queue

Returns:
  • (Integer) - Waiting size
def num_waiting
  @popq.size
end