MCPcopy
hub / github.com/sveltejs/svelte / set_active_reaction

Function set_active_reaction

packages/svelte/src/internal/client/runtime.js:79–81  ·  view source on GitHub ↗
(reaction)

Source from the content-addressed store, hash-verified

77
78/** @param {null | Reaction} reaction */
79export function set_active_reaction(reaction) {
80 active_reaction = reaction;
81}
82
83/** @type {null | Effect} */
84export let active_effect = null;

Callers 10

#initMethod · 0.90
toStoreFunction · 0.90
with_parentFunction · 0.90
#runMethod · 0.90
set_custom_element_dataFunction · 0.90
handle_event_propagationFunction · 0.90
without_reactive_contextFunction · 0.90
execute_effect_teardownFunction · 0.90
captureFunction · 0.90
unset_contextFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected