export class InMemoryForceCleanupLockService {
    locked = new Set();
    tryAcquire(identityKey) {
        if (this.locked.has(identityKey)) {
            return false;
        }
        this.locked.add(identityKey);
        return true;
    }
    release(identityKey) {
        this.locked.delete(identityKey);
    }
}
//# sourceMappingURL=forceCleanupLock.js.map