Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sveltejs/svelte
/ eager_effect
Function
eager_effect
packages/svelte/src/internal/client/reactivity/effects.js:254–256 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
252
253
/** @param {() => void | (() => void)} fn */
254
export
function
eager_effect(fn) {
255
return
create_effect(EAGER_EFFECT, fn);
256
}
257
258
/**
259
* Internal representation of `$effect.root(...)`
Callers
2
eager
Function · 0.90
inspect
Function · 0.90
Calls
1
create_effect
Function · 0.85
Tested by
no test coverage detected