lib/async/notification.rb in async-2.19.0 vs lib/async/notification.rb in async-2.20.0
- old
+ new
@@ -5,10 +5,10 @@
require_relative "condition"
module Async
# A synchronization primitive, which allows fibers to wait until a notification is received. Does not block the task which signals the notification. Waiting tasks are resumed on next iteration of the reactor.
- # @public Since `stable-v1`.
+ # @public Since *Async v1*.
class Notification < Condition
# Signal to a given task that it should resume operations.
def signal(value = nil, task: Task.current)
return if @waiting.empty?