Rocky_Mountain_Vending/.pnpm-store/v10/files/86/9c842aa019771364a3551cd6a11e93fa688bdccc61e764f94fd1e7641954dd1e43e6db94e0a4a5d02b43832744c4cb2da90f1a62e42e41aa17a81fb1748349
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
No EOL
1.1 KiB
Text

// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import * as Types from '../types/types.js';
const sessionIdEvents = [];
const workerIdByThread = new Map();
const workerURLById = new Map();
export function reset() {
sessionIdEvents.length = 0;
workerIdByThread.clear();
workerURLById.clear();
}
export function handleEvent(event) {
if (Types.Events.isTracingSessionIdForWorker(event)) {
sessionIdEvents.push(event);
}
}
export async function finalize() {
for (const sessionIdEvent of sessionIdEvents) {
if (!sessionIdEvent.args.data) {
continue;
}
workerIdByThread.set(sessionIdEvent.args.data.workerThreadId, sessionIdEvent.args.data.workerId);
workerURLById.set(sessionIdEvent.args.data.workerId, sessionIdEvent.args.data.url);
}
}
export function data() {
return {
workerSessionIdEvents: sessionIdEvents,
workerIdByThread,
workerURLById,
};
}
//# sourceMappingURL=WorkersHandler.js.map