class Async::Task
def close
def close @ios.each_value(&:close) @ios = nil # Attempt to remove this node from the task tree. consume # If this task was being used as a future, signal completion here: if @condition @condition.signal(@result) end end
def close @ios.each_value(&:close) @ios = nil # Attempt to remove this node from the task tree. consume # If this task was being used as a future, signal completion here: if @condition @condition.signal(@result) end end