MCPcopy
hub / github.com/svecosystem/runed / getter

Function getter

packages/runed/src/lib/utilities/resource/resource.svelte.ts:504–504  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

502 return runResource<Source, RefetchInfo, Fetcher>(source, fetcher, options, (fn, options) => {
503 const sources = Array.isArray(source) ? source : [source];
504 const getter = () => sources.map((s) => s());
505 watch.pre(
506 getter,
507 (values, previousValues) => {

Callers 4

extractFunction · 0.85
constructorMethod · 0.85
constructorMethod · 0.85
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected