class ActiveSupport::Concurrency::LoadInterlockAwareMonitor
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/active_support/concurrency/load_interlock_aware_monitor.rbs class ActiveSupport::Concurrency::LoadInterlockAwareMonitor < ActiveSupport::Concurrency::Monitor def mon_enter: () -> untyped def synchronize: () -> (ActiveRecord::Result | PG::Result) end
the lock.
A monitor that will permit dependency loading while blocked waiting for
def mon_enter
Experimental RBS support (using type sampling data from the type_fusion
project).
def mon_enter: () -> untyped
This signature was generated using 4 samples from 1 application.
def mon_enter mon_try_enter || ActiveSupport::Dependencies.interlock.permit_concurrent_loads { super } end
def synchronize(&block)
Experimental RBS support (using type sampling data from the type_fusion
project).
def synchronize: () -> (ActiveRecord::Result | PG::Result)
This signature was generated using 9 samples from 1 application.
def synchronize(&block) Thread.handle_interrupt(EXCEPTION_NEVER) do mon_enter begin Thread.handle_interrupt(EXCEPTION_IMMEDIATE, &block) ensure mon_exit end end end