Module: RedisQueuedLocks::Instrument::ActiveSupport

Defined in:
lib/redis_queued_locks/instrument/active_support.rb

Overview

Since:

  • 1.0.0

Class Method Summary collapse

Class Method Details

.notify(event, payload = {}) ⇒ void

This method returns an undefined value.

Parameters:

  • event (String)
  • payload (Hash<String|Symbol,Any>) (defaults to: {})

Since:

  • 1.0.0



13
14
15
# File 'lib/redis_queued_locks/instrument/active_support.rb', line 13

def notify(event, payload = {})
  ::ActiveSupport::Notifications.instrument(event, payload)
end