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

Function managed

packages/svelte/src/internal/client/reactivity/effects.js:425–431  ·  view source on GitHub ↗
(fn, flags = 0)

Source from the content-addressed store, hash-verified

423 * @param {number} flags
424 */
425export function managed(fn, flags = 0) {
426 var effect = create_effect(MANAGED_EFFECT | flags, fn);
427 if (DEV) {
428 effect.dev_stack = dev_stack;
429 }
430 return effect;
431}
432
433/**
434 * @param {(() => void)} fn

Callers 2

attribute_effectFunction · 0.90
attachFunction · 0.90

Calls 1

create_effectFunction · 0.85

Tested by

no test coverage detected