vendor/bundle/ruby/2.3.0/gems/sqreen-1.10.5/lib/sqreen/performance_notifications.rb
# Subsribe to receive notificiations about an event
# returns a subscription indentitifcation
Subsribe to receive notificiations about an event
returns a subscription indentitifcation
Subsribe to receive notificiations about an event returns a subscription indentitifcation
def notifiers_for(key)
        reg = @subscriptions_regexp.values.map do |r|
          r.first.match(key) && r.last
        end
        reg.compact!
        str = []
        if @subscriptions_val.key?(key)
          str = @subscriptions_val[key].map(&:last)
        end
        @subscriptions_all.values + str + reg
      end
def notifiers_for ( key ) reg = @subscriptions_regexp . values . map do | r | r . first . match ( key ) && r . last end reg . compact! str = [ ] if @subscriptions_val . key? ( key ) str = @subscriptions_val [ key ] . map ( & :last ) end @subscriptions_all . values + str + reg end
Subsribe to receive notificiations about an event
returns a subscription indentitifcation
Subsribe to receive notificiations about an event returns a subscription indentitifcation
key
<not_specific>