Sha256: 676b693f531e9ef5c96dfd1328b8826e29212246d6f06eed371985f25bdbdaa0
Contents?: true
Size: 753 Bytes
Versions: 12
Compression:
Stored size: 753 Bytes
Contents
# typed: false require_relative 'event' require_relative 'events/broadcast' require_relative 'events/perform_action' require_relative 'events/transmit' module Datadog module Tracing module Contrib module ActionCable # Defines collection of instrumented ActionCable events module Events ALL = [ Events::Broadcast, Events::PerformAction, Events::Transmit ].freeze module_function def all self::ALL end def subscriptions all.collect(&:subscriptions).collect(&:to_a).flatten end def subscribe! all.each(&:subscribe!) end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems