MCPcopy Create free account
hub / github.com/effect-app/libs / useQueryFamily

Function useQueryFamily

packages/vue/src/query.ts:536–538  ·  view source on GitHub ↗
(
    q: RequestHandlerWithInput<I, A, E, R, Request, Name>
  )

Source from the content-addressed store, hash-verified

534
535const observedStreamAtom = <A, E>(
536 atom: Atom.Writable<Atom.PullResult<A, E>, void>,
537 options?: AtomStreamQueryOptions
538): Atom.Writable<Atom.PullResult<A, E>, void> => {
539 let next = atom
540 const refetchInterval = options?.refreshEvery ?? options?.refetchInterval
541 if (refetchInterval !== undefined) next = Atom.withRefresh(refetchInterval)(next)

Callers 2

queryHelpersForFunction · 0.85
mapQueryFunction · 0.85

Calls 2

getQueryFamilyFunction · 0.85
getAtomRtFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…