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

Function set_active_effect

packages/svelte/src/internal/client/runtime.js:87–89  ·  view source on GitHub ↗
(effect)

Source from the content-addressed store, hash-verified

85
86/** @param {null | Effect} effect */
87export function set_active_effect(effect) {
88 active_effect = effect;
89}
90
91/**
92 * When sources are created within a reaction, reading and writing

Callers 10

toStoreFunction · 0.90
#runMethod · 0.90
set_custom_element_dataFunction · 0.90
handle_event_propagationFunction · 0.90
without_reactive_contextFunction · 0.90
setFunction · 0.90
legacy_pre_effectFunction · 0.90
captureFunction · 0.90
unset_contextFunction · 0.90
execute_derivedFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected