Sha256: 5a739603818204e58528f5483c90859bdfcb4f52516340606e0990f473136f87

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

# frozen_string_literal: true

require "concurrent/map"

module Dry
  module Events
    include Dry::Core::Constants

    LISTENERS_HASH = Concurrent::Map.new do |h, k|
      h.compute_if_absent(k) { [] }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-events-1.0.1 lib/dry/events/constants.rb