Using peekCachedSignal to speedup GpxDialog

This commit is contained in:
vdv committed 2023-01-07 15:14:44 +01:00
1 parent 516d09e3c6
commit 2ca519a53c
6 files changed
+23 -19

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ export const createCachedSignal = (params: any) => {
export const peekCachedSignal = (params: any) => {
const cachedSignal = cache.get({ cacheId: 'signals', key: params.id });
console.log({ caller: 'peekCachedSignal', params, cachedSignal });
if (cachedSignal !== null) {
return cachedSignal;
}