class Puma::DSL

def out_of_band(&block)


This can be called multiple times to add several hooks.

or scheduling asynchronous tasks to execute after a response.
This hook is useful for running out-of-band garbage collection

The worker doesn't accept new requests until this code finishes.
processing and there are no busy threads on the worker.
These hooks run immediately after a request has finished
Code to run out-of-band when the worker is idle.
def out_of_band(&block)
  process_hook :out_of_band, nil, block, 'out_of_band'
end