add 'publish' code to addOrUpdateEta

This commit is contained in:
2025-02-02 13:13:32 -08:00
parent 01cbad3a73
commit a810a2e78f

View File

@@ -152,6 +152,10 @@ export class UnoptimizedInMemoryRepository implements GetterSetterRepository {
} else { } else {
this.etas.push(eta); this.etas.push(eta);
} }
this.subscribers.forEach(subscriber => {
subscriber(eta);
});
} }
private async removeEntityByMatcherIfExists<T>(callback: (value: T) => boolean, arrayToSearchIn: T[]) { private async removeEntityByMatcherIfExists<T>(callback: (value: T) => boolean, arrayToSearchIn: T[]) {