MCPcopy Create free account
hub / github.com/Effect-TS/effect / span

Function span

packages/rpc/test/RpcServer.test.ts:13–17  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

11 const testTracer = Tracer.make({
12 ...tracer,
13 span(...args) {
14 const span = tracer.span(...args)
15 spans.push(span)
16 return span
17 }
18 })
19 const group = RpcGroup.make(Rpc.make("getUserAge", { payload: Schema.Struct({}), success: Schema.Number }))
20 const httpApp = yield* RpcServer.toHttpApp(group).pipe(

Callers

nothing calls this directly

Calls 1

spanMethod · 0.80

Tested by

no test coverage detected