class Async::Node

def annotate(annotation)

@parameter annotation [String] The description to annotate the node with.

Annotate the node with a description.
def annotate(annotation)
	if block_given?
		begin
			current_annotation = @annotation
			@annotation = annotation
			return yield
		ensure
			@annotation = current_annotation
		end
	else
		@annotation = annotation
	end
end