Refactor dvm request and outbox loader

This commit is contained in:
Jon Staab
2025-04-11 09:21:55 -07:00
parent 837fd1ab66
commit 7e44fa414c
8 changed files with 42 additions and 55 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ export const makeLoader = (options: LoaderOptions) =>
}
)
return allRequests.map(r => resultsByRequest.get(r))
return allRequests.map(r => resultsByRequest.get(r)!)
})
export const load = makeLoader({delay: 200, timeout: 3000, threshold: 0.5})