class method
self.new
Ruby on Rails 8.1.2
Since v3.0.20Signature
self.new()
No documentation comment.
Source
# File activesupport/lib/active_support/notifications/fanout.rb, line 56
def initialize
@mutex = Mutex.new
@string_subscribers = Concurrent::Map.new { |h, k| h.compute_if_absent(k) { [] } }
@other_subscribers = []
@all_listeners_for = Concurrent::Map.new
@groups_for = Concurrent::Map.new
end
Defined in activesupport/lib/active_support/notifications/fanout.rb line 56
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications::Fanout