class Async::Task
def self.current
@returns [Task]
Lookup the {Task} for the current fiber. Raise `RuntimeError` if none is available.
def self.current Thread.current[:async_task] or raise RuntimeError, "No async task available!" end
def self.current Thread.current[:async_task] or raise RuntimeError, "No async task available!" end