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

Function render_effect

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

Source from the content-addressed store, hash-verified

376 * @returns {Effect}
377 */
378export function render_effect(fn, flags = 0) {
379 return create_effect(RENDER_EFFECT | flags, fn);
380}
381
382/**
383 * @param {(...expressions: any) => void | (() => void)} fn

Callers 15

date.test.tsFile · 0.90
map.test.tsFile · 0.90
createSubscriberFunction · 0.90
set.test.tsFile · 0.90
url.test.tsFile · 0.90
fromActionFunction · 0.90
toStoreFunction · 0.90
ofMethod · 0.90
ofMethod · 0.90
validate_bindingFunction · 0.90
css_propsFunction · 0.90

Calls 1

create_effectFunction · 0.85

Tested by

no test coverage detected