We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e8fcbf commit afdad8bCopy full SHA for afdad8b
packages/svelte/src/internal/client/reactivity/deriveds.js
@@ -113,9 +113,6 @@ export function async_derived(fn, location) {
113
// only suspend in async deriveds created on initialisation
114
var should_suspend = !active_reaction;
115
116
- /** @type {Map<Batch, Promise<V>>} */
117
- var promises = new Map();
118
-
119
/** @type {Map<Batch, ReturnType<typeof deferred>>} */
120
var deferreds = new Map();
121
@@ -146,8 +143,6 @@ export function async_derived(fn, location) {
146
143
}
147
144
148
145
149
- promises.set(batch, promise);
150
151
/**
152
* @param {any} value
153
* @param {unknown} error
0 commit comments