instance method
build_handle
Ruby on Rails edge
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 313
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(name, id, groups, payload)
end
end
Defined in activesupport/lib/active_support/notifications/fanout.rb line 313
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications::Fanout