Make repository.query sync

This commit is contained in:
Jon Staab
2024-05-16 15:07:02 -07:00
parent 5d3265c15a
commit 42b3b8b5e7
10 changed files with 36 additions and 36 deletions
-5
View File
@@ -39,11 +39,6 @@ export class FeedLoader<E extends TrustedEvent> {
}
async _getRequestsLoader(requests: RequestItem[], {onEvent, onExhausted}: LoadOpts<E>) {
// Empty requests are not a no-op, they're a global feed
if (requests.length === 0) {
requests = [{}]
}
const seen = new Set()
const exhausted = new Set()
const loaders = await Promise.all(