lib/kernel/async.rb in async-2.19.0 vs lib/kernel/async.rb in async-2.20.0
- old
+ new
@@ -17,10 +17,10 @@
# running.
#
# @yields {|task| ...} The block that will execute asynchronously.
# @parameter task [Async::Task] The task that is executing the given block.
#
- # @public Since `stable-v1`.
+ # @public Since *Async v1*.
# @asynchronous May block until given block completes executing.
def Async(...)
if current = ::Async::Task.current?
return current.async(...)
elsif scheduler = Fiber.scheduler