5 ms·
> Which means that you can just write a whole normal Ruby program, that just uses Task::Async.current.async(...) > All without having to pass the current task d
by brunosutic 5y ago
> Which means that you can just write a whole normal Ruby program, that just uses Task::Async.current.async(...)
> All without having to pass the current task down the call stack everywhere.
Yes, you can also use `Async { work }` instead of `Async::Task.current.async { work }`.