Skip to content

Commit 1ece2eb

Browse files
committed
Revert "unused"
This reverts commit a95b625.
1 parent b6a4afd commit 1ece2eb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/svelte/src/internal/client/dev/tracing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { snapshot } from '../../shared/clone.js';
44
import { define_property } from '../../shared/utils.js';
55
import { DERIVED, PROXY_PATH_SYMBOL, STATE_SYMBOL } from '#client/constants';
66
import { effect_tracking } from '../reactivity/effects.js';
7-
import { active_reaction } from '../runtime.js';
7+
import { active_reaction, captured_signals, set_captured_signals, untrack } from '../runtime.js';
88

99
/**
1010
* @typedef {{

packages/svelte/src/internal/client/runtime.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ export let skip_reaction = false;
137137
/** @type {Set<Value> | null} */
138138
export let captured_signals = null;
139139

140+
/** @param {Set<Value> | null} value */
141+
export function set_captured_signals(value) {
142+
captured_signals = value;
143+
}
144+
140145
export function increment_write_version() {
141146
return ++write_version;
142147
}

0 commit comments

Comments
 (0)