lib/kernel/async.rb in async-1.24.0 vs lib/kernel/async.rb in async-1.24.1
- 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(*arguments, &block)
- ::Async::Reactor.run(*arguments, &block)
+ def Async(*arguments, **options, &block)
+ ::Async::Reactor.run(*arguments, **options, &block)
end
end