lib/async/await/methods.rb in async-await-0.2.0 vs lib/async/await/methods.rb in async-await-0.3.0

- old
+ new

@@ -27,10 +27,10 @@ def task Async::Task.current end - def_delegators :task, :timeout, :sleep, :async + def_delegators :task, :with_timeout, :sleep, :async def await(&block) block.call.wait end