Sha256: c7f926100b8f7ff19157825949c3a8e6fcc8adec6adba4b4bedb36c31ecb9801

Contents?: true

Size: 425 Bytes

Versions: 9

Compression:

Stored size: 425 Bytes

Contents

module Legion
  module Supervision
    class << self
      attr_accessor :timer_tasks

      def setup
        @timer_tasks = Concurrent::AtomicReference.new([])
        @once_tasks = Concurrent::AtomicReference.new([])
        @loop_tasks = Concurrent::AtomicReference.new([])
        @poll_tasks = Concurrent::AtomicReference.new([])
        @subscriptions = Concurrent::AtomicReference.new([])
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
legionio-1.2.1 lib/legion/supervision.rb
legionio-1.2.0 lib/legion/supervision.rb
legionio-0.4.3 lib/legion/supervision.rb
legionio-0.4.2 lib/legion/supervision.rb
legionio-0.4.1 lib/legion/supervision.rb
legionio-0.4.0 lib/legion/supervision.rb
legionio-0.3.2 lib/legion/supervision.rb
legionio-0.3.1 lib/legion/supervision.rb
legionio-0.3.0 lib/legion/supervision.rb