Module: Async::Container

Defined in:
lib/async/container.rb,
lib/async/container/forked.rb,
lib/async/container/version.rb,
lib/async/container/threaded.rb

Overview

TODO Move this into it's own gem, since it's really not required for async to work - it's only really for servers and this implementation is very basic. Manages a reactor within one or more threads.

Defined Under Namespace

Classes: Forked, Threaded

Constant Summary collapse

VERSION =
"0.2.2"

Class Method Summary collapse

Class Method Details

.new(**options, &block) ⇒ Object



26
27
28
# File 'lib/async/container.rb', line 26

def self.new(**options, &block)
  Threaded.new(**options, &block)
end