Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sveltejs/svelte
/ update
Function
update
packages/svelte/src/store/shared/index.js:69–71 ·
view source on GitHub ↗
* @param {Updater } fn * @returns {void}
(fn)
Source
from the content-addressed store, hash-verified
67
* @returns {void}
68
*/
69
function
update(fn) {
70
set(fn(/** @
type
{T} */ (value)));
71
}
72
73
/**
74
* @param {Subscriber<T>} run
Callers
3
index.js
File · 0.50
fromAction
Function · 0.50
fromStore
Function · 0.50
Calls
2
set
Function · 0.70
fn
Function · 0.50
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…