Sha256: 6bf29ac447e0b940f9b04d2af226f1aecae856df9cb41aa246d31e1203f30514

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 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

1 entries across 1 versions & 1 rubygems

Version Path
legionio-0.2.0 lib/legion/supervison.rb