src/vs/platform/storage/common/storage.ts/AbstractStorageService/emitWillSaveState
class AbstractStorageService:	protected emitWillSaveState(reason: WillSaveStateReason): void {
		this._onWillSaveState.fire({ reason });
	}