class Async::Notification

def signal(value = nil, task: Task.current)

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