Skip to content

Commit afdad8b

Browse files
committed
unused
1 parent 9e8fcbf commit afdad8b

File tree

1 file changed

+0
-5
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+0
-5
lines changed

packages/svelte/src/internal/client/reactivity/deriveds.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ export function async_derived(fn, location) {
113113
// only suspend in async deriveds created on initialisation
114114
var should_suspend = !active_reaction;
115115

116-
/** @type {Map<Batch, Promise<V>>} */
117-
var promises = new Map();
118-
119116
/** @type {Map<Batch, ReturnType<typeof deferred>>} */
120117
var deferreds = new Map();
121118

@@ -146,8 +143,6 @@ export function async_derived(fn, location) {
146143
}
147144
}
148145

149-
promises.set(batch, promise);
150-
151146
/**
152147
* @param {any} value
153148
* @param {unknown} error

0 commit comments

Comments
 (0)