Method: ActiveSupport::Dependencies::Interlock#permit_concurrent_loads

Defined in:
activesupport/lib/active_support/dependencies/interlock.rb

#permit_concurrent_loads(&block) ⇒ Object



40
41
42
# File 'activesupport/lib/active_support/dependencies/interlock.rb', line 40

def permit_concurrent_loads(&block)
  @lock.yield_shares(compatible: [:load], &block)
end