method
permit_concurrent_loads
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::Dependencies::Interlock
permit_concurrent_loads(&block)public
No documentation available.
# File activesupport/lib/active_support/dependencies/interlock.rb, line 40
def permit_concurrent_loads(&block)
@lock.yield_shares(compatible: [:load], &block)
end