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

Function traced

packages/sql/pg/test/Client.integration.test.ts:1008–1009  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E>)

Source from the content-addressed store, hash-verified

1006
1007 for (const propagate of [false, true]) {
1008 const traced = <A, E>(effect: Effect.Effect<A, E>) =>
1009 effect.pipe(Effect.withTracer(tracer), Effect.provideService(Statement.SpanPropagationEnabled, propagate))
1010 assert.deepStrictEqual(
1011 yield* traced(hookParent(sql.batch([sql`SELECT 1`]))),
1012 yield* traced(hookParent(sql`SELECT 1`)),

Callers 1

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected