module Kernel
def Async(*args, &block)
def Async(*args, &block) ::Async::Reactor.run(*args, &block) end
def Sync(&block)
def Sync(&block) if task = ::Async::Task.current? yield else ::Async::Reactor.run(&block).wait end end
def Async(*args, &block) ::Async::Reactor.run(*args, &block) end
def Sync(&block) if task = ::Async::Task.current? yield else ::Async::Reactor.run(&block).wait end end