lib/kernel/async.rb in async-2.2.1 vs lib/kernel/async.rb in async-2.3.0

- old
+ new

@@ -23,9 +23,10 @@ # @asynchronous May block until given block completes executing. def Async(...) if current = ::Async::Task.current? return current.async(...) else + # This calls Fiber.set_scheduler(self): reactor = ::Async::Reactor.new begin return reactor.run(...) ensure