This commit is contained in:
@ -12,7 +12,7 @@ export default class DocumentLock {
|
||||
let key = collection + "/" + document;
|
||||
let l = this.locks.get(key);
|
||||
if (l)
|
||||
await new Promise((resolve) => {
|
||||
await new Promise<void>((resolve) => {
|
||||
l.push(resolve);
|
||||
this.locks.set(key, l);
|
||||
});
|
||||
|
Reference in New Issue
Block a user