effect-io-ai

Package: effect
Module: Effect

Effect.withParentSpan

Adds the provided span to the current span stack.

Signature

declare const withParentSpan: { (span: Tracer.AnySpan): <A, E, R>(self: Effect<A, E, R>) => Effect<A, E, Exclude<R, Tracer.ParentSpan>>; <A, E, R>(self: Effect<A, E, R>, span: Tracer.AnySpan): Effect<A, E, Exclude<R, Tracer.ParentSpan>>; }

Source

Since v2.0.0