Rocky_Mountain_Vending/.pnpm-store/v10/files/06/cb4a75ed5fb4355fef20110e4d5390ae28e63a148beb83dbdd4db0c9b0a922e52545406644c9b5f9447509ddcab2485f0fe8809b93b6deef5adcd746f8c622
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

34 lines
1.5 KiB
Text

import type * as Helpers from '../helpers/helpers.js';
import type * as Types from '../types/types.js';
import type { AuctionWorkletsData } from './AuctionWorkletsHandler.js';
import type * as Renderer from './RendererHandler.js';
import type { ParsedTrace } from './types.js';
export interface ThreadData {
pid: Types.Events.ProcessID;
tid: Types.Events.ThreadID;
entries: readonly Types.Events.Event[];
processIsOnMainFrame: boolean;
tree: Helpers.TreeHelpers.TraceEntryTree;
type: ThreadType;
name: string | null;
entryToNode: Map<Types.Events.Event, Helpers.TreeHelpers.TraceEntryNode>;
}
export declare enum ThreadType {
MAIN_THREAD = "MAIN_THREAD",
WORKER = "WORKER",
RASTERIZER = "RASTERIZER",
AUCTION_WORKLET = "AUCTION_WORKLET",
OTHER = "OTHER",
CPU_PROFILE = "CPU_PROFILE",
THREAD_POOL = "THREAD_POOL"
}
export declare function threadsInRenderer(rendererData: Renderer.RendererHandlerData, auctionWorkletsData: AuctionWorkletsData): readonly ThreadData[];
/**
* Given trace parsed data, this helper will return a high level array of
* ThreadData. This is useful because it allows you to get a list of threads
* regardless of if the trace is a CPU Profile or a Tracing profile. Thus you
* can use this helper to iterate over threads in confidence that it will work
* for both trace types.
* The resulting data is cached per-trace, so you can safely call this multiple times.
*/
export declare function threadsInTrace(parsedTrace: ParsedTrace): readonly ThreadData[];