lib/kernel/async.rb in async-1.23.0 vs lib/kernel/async.rb in async-1.24.0
- old
+ new
@@ -20,9 +20,9 @@
require_relative "../async/reactor"
module Kernel
# Run the given block of code in a task, asynchronously, creating a reactor if necessary.
- def Async(*args, &block)
- ::Async::Reactor.run(*args, &block)
+ def Async(*arguments, &block)
+ ::Async::Reactor.run(*arguments, &block)
end
end