Package: effect
Module: Layer
Create and add a span to the current span stack.
The span is ended when the Layer is released.
Signature
declare const span: (name: string, options?: Tracer.SpanOptions & { readonly onEnd?: ((span: Tracer.Span, exit: Exit.Exit<unknown, unknown>) => Effect.Effect<void>) | undefined; }) => Layer<Tracer.ParentSpan>
Since v2.0.0