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 _instrument(key, meta)
        start = Time.now
        yield
      ensure
        stop = Time.now
        notifiers_for(key).each do |callable|
          callable.call(key, start, stop, meta)
        end
      end
def _instrument ( key , meta ) start = Time . now yield ensure stop = Time . now notifiers_for ( key ) . each do | callable | callable . call ( key , start , stop , meta ) end 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>
meta
<not_specific>