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

Function async_effect

packages/svelte/src/internal/client/reactivity/effects.js:370–372  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

368 * @returns {Effect}
369 */
370export function async_effect(fn) {
371 return create_effect(ASYNC | EFFECT_PRESERVED, fn);
372}
373
374/**
375 * @param {() => void | (() => void)} fn

Callers 1

async_derivedFunction · 0.90

Calls 1

create_effectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…