Method: ThreadPool#busy?

Defined in:
lib/tpkg/thread_pool.rb

#busy?Boolean

Returns:

  • (Boolean)


90
91
92
# File 'lib/tpkg/thread_pool.rb', line 90

def busy?
  @queue.size < @workers.size
end