class Async::Variable

def resolve(value = true)

@parameter value [Object] The value to resolve.

Signals all waiting tasks.

Resolve the value.
def resolve(value = true)
	@value = value
	condition = @condition
	@condition = nil
	
	self.freeze
	
	condition.signal(value)
end