class Async::Reactor
A wrapper around the the scheduler which binds it to the current thread automatically.
def self.run(...)
- Replaced by {Kernel::Async}.
def self.run(...) warn("`Async::Reactor.run{}` is deprecated, use `Async{}` instead.", uplevel: 1, category: :deprecated) if $VERBOSE Async(...) end
def initialize(...)
def initialize(...) super Fiber.set_scheduler(self) end
def scheduler_close
def scheduler_close self.close end