function Subscription.Complete(T)if T._state~=stateTypes.PENDING then return end T._state=stateTypes.COMPLETE if T._completeCallback then T._completeCallback()end T:_doCleanup()end

function Subscription:Complete()
	if self._state ~= stateTypes.PENDING then
		return
	end

	self._state = stateTypes.COMPLETE
	if self._completeCallback then
		self._completeCallback()
	end

	self:_doCleanup()
end
