Sha256: d645d263bdc4d3a870f18904059fce579c2f416d84b819df01dc15cfb05679d2

Contents?: true

Size: 190 Bytes

Versions: 2

Compression:

Stored size: 190 Bytes

Contents

# frozen_string_literal: true

require "concurrent/map"

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dry-events-1.0.0 lib/dry/events/constants.rb
dry-events-0.4.0 lib/dry/events/constants.rb