class Async::Task

def finish!

Finish the current task, and all bound bound IO objects.
def finish!
	# 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