Takaro - v0.6.0
    Preparing search index...

    Variable continueTraceConst

    continueTrace: <V>(
        options: {
            baggage: Parameters<typeof propagationContextFromHeaders>[1];
            sentryTrace: Parameters<typeof propagationContextFromHeaders>[0];
        },
        callback: () => V,
    ) => V

    Continue a trace from sentry-trace and baggage values. These values can be obtained from incoming request headers, or in the browser from <meta name="sentry-trace"> and <meta name="baggage"> HTML tags.

    Spans started with startSpan, startSpanManual and startInactiveSpan, within the callback will automatically be attached to the incoming trace.

    Type Declaration

      • <V>(
            options: {
                baggage: Parameters<typeof propagationContextFromHeaders>[1];
                sentryTrace: Parameters<typeof propagationContextFromHeaders>[0];
            },
            callback: () => V,
        ): V
      • Type Parameters

        • V

        Parameters

        • options: {
              baggage: Parameters<typeof propagationContextFromHeaders>[1];
              sentryTrace: Parameters<typeof propagationContextFromHeaders>[0];
          }
        • callback: () => V

        Returns V