class Puma::ThreadPool
def with_force_shutdown
Experimental RBS support (using type sampling data from the type_fusion
project).
def with_force_shutdown: () -> nil
This signature was generated using 1 sample from 1 application.
Allows ThreadPool::ForceShutdown to be raised within the
def with_force_shutdown t = Thread.current @shutdown_mutex.synchronize do raise ForceShutdown if @force_shutdown t[:with_force_shutdown] = true end yield ensure t[:with_force_shutdown] = false end