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>
22 lines
No EOL
846 B
Text
22 lines
No EOL
846 B
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 Platform from '../../../core/platform/platform.js';
|
|
import * as Types from '../types/types.js';
|
|
const updateCountersByProcess = new Map();
|
|
export function reset() {
|
|
updateCountersByProcess.clear();
|
|
}
|
|
export function handleEvent(event) {
|
|
if (Types.Events.isUpdateCounters(event)) {
|
|
const countersForProcess = Platform.MapUtilities.getWithDefault(updateCountersByProcess, event.pid, () => []);
|
|
countersForProcess.push(event);
|
|
updateCountersByProcess.set(event.pid, countersForProcess);
|
|
}
|
|
}
|
|
export async function finalize() {
|
|
}
|
|
export function data() {
|
|
return { updateCountersByProcess };
|
|
}
|
|
//# sourceMappingURL=MemoryHandler.js.map |