Rocky_Mountain_Vending/.pnpm-store/v10/files/65/e32ddd43604be75b0e2ac8aeb89b9405aa725ab301acadb190cc46ec47687e294d24d0b42162a430050b2de49a696d6cd89873341e76d2a4e084b151bd52b4
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

43 lines
No EOL
1.7 KiB
Text

import type { Span } from '../types-hoist/span';
import type { StartSpanOptions } from '../types-hoist/startSpanOptions';
export declare const TRACING_DEFAULTS: {
idleTimeout: number;
finalTimeout: number;
childSpanTimeout: number;
};
interface IdleSpanOptions {
/**
* The time that has to pass without any span being created.
* If this time is exceeded, the idle span will finish.
*/
idleTimeout: number;
/**
* The max. time an idle span may run.
* If this time is exceeded, the idle span will finish no matter what.
*/
finalTimeout: number;
/**
* The max. time a child span may run.
* If the time since the last span was started exceeds this time, the idle span will finish.
*/
childSpanTimeout?: number;
/**
* When set to `true`, will disable the idle timeout and child timeout
* until the `idleSpanEnableAutoFinish` hook is emitted for the idle span.
* The final timeout mechanism will not be affected by this option,
* meaning the idle span will definitely be finished when the final timeout is
* reached, no matter what this option is configured to.
*
* Defaults to `false`.
*/
disableAutoFinish?: boolean;
/** Allows to configure a hook that is called when the idle span is ended, before it is processed. */
beforeSpanEnd?: (span: Span) => void;
}
/**
* An idle span is a span that automatically finishes. It does this by tracking child spans as activities.
* An idle span is always the active span.
*/
export declare function startIdleSpan(startSpanOptions: StartSpanOptions, options?: Partial<IdleSpanOptions>): Span;
export {};
//# sourceMappingURL=idleSpan.d.ts.map