class Puma::ThreadPool

def trigger_out_of_band_hook

Other tags:
    Version: - 5.0.0
def trigger_out_of_band_hook
  return false unless @out_of_band&.any?
  # we execute on idle hook when all threads are free
  return false unless @spawned == @waiting
  @out_of_band.each(&:call)
  true
rescue Exception => e
  STDERR.puts "Exception calling out_of_band_hook: #{e.message} (#{e.class})"
  true
end