src/vs/editor/contrib/inlineCompletions/utils.ts/MutableDisposable/replace
class MutableDisposable:	replace(newValue: T | undefined): T | undefined {
		const oldValue = this._value;
		this._value = newValue;
		return oldValue;
	}