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

Function fakeHandler

packages/vue/test/query-span.test.ts:15–22  ·  view source on GitHub ↗
(
  id: string,
  run: (input: void) => Effect.Effect<A, E, never>
)

Source from the content-addressed store, hash-verified

13import { useAtomQuery } from "../src/query.js"
14
15const fakeHandler = <A, E>(
16 id: string,
17 run: (input: void) => Effect.Effect<A, E, never>
18): RequestHandlerWithInput<void, A, E, never, never, string> => ({
19 id,
20 handler: run,
21 Request: undefined as never
22})
23
24const querySpanParentName = Effect.currentSpan.pipe(
25 Effect.map((span) =>

Callers 1

query-span.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…