instance method
build_handle
Ruby on Rails 8.1.2
Since v7.1.6Signature
build_handle(name, id, payload)
No documentation comment.
Parameters
-
namereq -
idreq -
payloadreq
Source
# File activesupport/lib/active_support/notifications/fanout.rb, line 286
def build_handle(name, id, payload)
groups = groups_for(name).map do |group_klass, grouped_listeners|
group_klass.new(grouped_listeners, name, id, payload)
end
if groups.empty?
NullHandle
else
Handle.new(self, name, id, groups, payload)
end
end
Defined in activesupport/lib/active_support/notifications/fanout.rb line 286
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications::Fanout