FuncType - v1.21.0
    Preparing search index...

    Function TracedOption

    • Wraps inner with tracing. Each combinator emits one TraceEvent to tracer, then delegates to the real Option implementation.

      Type Parameters

      • A

      Parameters

      • inner: Option<A>

        The Option to wrap.

      • tracer: Tracer

        Receives events. Typically obtained via IO.service(Tracer).

      • spanId: string

        Groups all events from one chain. Required: core does not generate ids, so tracing stays deterministic and free of a global crypto dependency.

      • seq: number = 0

        Starting sequence number. Defaults to 0. Increments on each op.

      Returns TracedOption<A>