lib/async/notification.rb in async-1.11.0 vs lib/async/notification.rb in async-1.12.0

- old
+ new

@@ -19,10 +19,10 @@ # THE SOFTWARE. require_relative 'condition' module Async - # A synchronization primative, 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. + # 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. class Notification < Condition # Signal to a given task that it should resume operations. # @return [void] def signal(value = nil, task: Task.current) return if @waiting.empty?