Revert "unused"

This reverts commit a95b625800.
pull/16131/head
Rich Harris 3 months ago
parent b6a4afd6b2
commit 1ece2eb1a2

@ -4,7 +4,7 @@ import { snapshot } from '../../shared/clone.js';
import { define_property } from '../../shared/utils.js';
import { DERIVED, PROXY_PATH_SYMBOL, STATE_SYMBOL } from '#client/constants';
import { effect_tracking } from '../reactivity/effects.js';
import { active_reaction } from '../runtime.js';
import { active_reaction, captured_signals, set_captured_signals, untrack } from '../runtime.js';
/**
* @typedef {{

@ -137,6 +137,11 @@ export let skip_reaction = false;
/** @type {Set<Value> | null} */
export let captured_signals = null;
/** @param {Set<Value> | null} value */
export function set_captured_signals(value) {
captured_signals = value;
}
export function increment_write_version() {
return ++write_version;
}

Loading…
Cancel
Save