function CancelToken.IsCancelled(W)return W.PromiseCancelled:IsFulfilled()end function CancelToken._cancel(W)W.PromiseCancelled:Resolve()end return CancelToken

function CancelToken:IsCancelled()
	return self.PromiseCancelled:IsFulfilled()
end

function CancelToken:_cancel()
	self.PromiseCancelled:Resolve()
end

return CancelToken
