(
q: { readonly queryKeyProjectionHash?: string },
queryKey: ReadonlyArray<unknown>,
input: unknown
)
| 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" } |
no outgoing calls
no test coverage detected
searching dependent graphs…