Sha256: c4843a10194b56054199b965eceaa2a44081e38b04e1ab703dcf9aae9b94109c

Contents?: true

Size: 384 Bytes

Versions: 8

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

# @api public
# @since 1.0.0
module RedisQueuedLocks::Instrument::ActiveSupport
  class << self
    # @param event [String]
    # @param payload [Hash<String|Symbol,Any>]
    # @return [void]
    #
    # @api public
    # @since 1.0.0
    def notify(event, payload = {})
      ::ActiveSupport::Notifications.instrument(event, payload)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
redis_queued_locks-1.12.1 lib/redis_queued_locks/instrument/active_support.rb
redis_queued_locks-1.12.0 lib/redis_queued_locks/instrument/active_support.rb
redis_queued_locks-1.11.0 lib/redis_queued_locks/instrument/active_support.rb
redis_queued_locks-1.10.0 lib/redis_queued_locks/instrument/active_support.rb
redis_queued_locks-1.9.0 lib/redis_queued_locks/instrument/active_support.rb
redis_queued_locks-1.8.0 lib/redis_queued_locks/instrument/active_support.rb
redis_queued_locks-1.7.0 lib/redis_queued_locks/instrument/active_support.rb
redis_queued_locks-1.2.0 lib/redis_queued_locks/instrument/active_support.rb