class Async::Notification
def signal(value = nil, task: Task.current)
-
(void)
-
def signal(value = nil, task: Task.current) return if @waiting.empty? task.reactor << Signal.new(@waiting, value) @waiting = [] return nil end
(void)
-
def signal(value = nil, task: Task.current) return if @waiting.empty? task.reactor << Signal.new(@waiting, value) @waiting = [] return nil end