reorder records list watchers and cancel prev count requests

This commit is contained in:
Gani Georgiev
2026-04-19 08:28:03 +03:00
parent 3ad737e606
commit e41f43241b
6 changed files with 65 additions and 52 deletions
+1
View File
@@ -16,6 +16,7 @@ function semaphoreAdd(fn) {
semaphoreProcess();
}
// release func that must be called manually after done with the loading
return () => {
semaphore.pending.delete(fn);
semaphore.processing.delete(fn);