Method: Gruf::Interceptors::Registry#count
- Defined in:
- lib/gruf/interceptors/registry.rb
#count ⇒ Integer
Returns The number of interceptors currently loaded.
135 136 137 138 139 140 |
# File 'lib/gruf/interceptors/registry.rb', line 135 def count interceptors_mutex do @registry ||= [] @registry.count end end |