Method: Async::Reactor#initialize

Defined in:
lib/async/reactor.rb

#initializeReactor

Initialize the reactor and assign it to the current Fiber scheduler.



21
22
23
24
25
# File 'lib/async/reactor.rb', line 21

def initialize(...)
	super
	
	Fiber.set_scheduler(self)
end