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

Function fullQueryKey

packages/vue/src/internal/tanstackQuery.ts:117–121  ·  view source on GitHub ↗
(
  q: { readonly queryKeyProjectionHash?: string },
  queryKey: ReadonlyArray<unknown>,
  input: unknown
)

Source from the content-addressed store, hash-verified

115 })
116 .pipe(Effect.orDie),
117 invalidateSoft: (keys) =>
118 Effect
119 .gen(function*() {
120 const span = yield* Effect.currentParentSpan.pipe(Effect.orElseSucceed(() => undefined))
121 yield* Effect.forEach(
122 keys,
123 (queryKey) => Effect.promise(() => queryClient.invalidateQueries({ queryKey }, { updateMeta: { span } })),
124 { discard: true, concurrency: "unbounded" }

Callers 2

useQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…