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

Function getReactivity

packages/vue/src/makeClient.ts:710–717  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

708const makeResolvedAtomQueryInvalidator = <R>(getContext: () => Context.Context<R>): QueryInvalidator => {
709 let reactivity: Context.Service.Shape<typeof Reactivity.Reactivity> | undefined
710 const getReactivity = () => {
711 if (reactivity !== undefined) return reactivity
712 const service = Context.getOrUndefined(getContext(), Reactivity.Reactivity)
713 if (service === undefined) {
714 throw new Error("Reactivity service is missing from the client runtime")
715 }
716 return reactivity = service
717 }
718
719 return {
720 invalidateAndAwait: (keys) =>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…