Skip to content

Commit 3566d21

Browse files
committed
tidy up
1 parent af7d484 commit 3566d21

File tree

1 file changed

+2
-7
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+2
-7
lines changed

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,9 @@ export function increment(source) {
275275
/**
276276
* @param {Value} signal
277277
* @param {number} status should be DIRTY or MAYBE_DIRTY
278-
* @param {boolean} partial should skip async/block effects
279278
* @returns {void}
280279
*/
281-
export function mark_reactions(signal, status, partial = false) {
280+
export function mark_reactions(signal, status) {
282281
var reactions = signal.reactions;
283282
if (reactions === null) return;
284283

@@ -298,17 +297,13 @@ export function mark_reactions(signal, status, partial = false) {
298297
continue;
299298
}
300299

301-
if (partial && (flags & (EFFECT_ASYNC | BLOCK_EFFECT)) !== 0) {
302-
continue;
303-
}
304-
305300
if (status === DIRTY || (flags & DIRTY) === 0) {
306301
// don't make a DIRTY signal MAYBE_DIRTY
307302
set_signal_status(reaction, status);
308303
}
309304

310305
if ((flags & DERIVED) !== 0) {
311-
mark_reactions(/** @type {Derived} */ (reaction), MAYBE_DIRTY, partial);
306+
mark_reactions(/** @type {Derived} */ (reaction), MAYBE_DIRTY);
312307
} else {
313308
schedule_effect(/** @type {Effect} */ (reaction));
314309
}

0 commit comments

Comments
 (0)