@quick-game/cli
Version:
Command line interface for rapid qg development
19 lines • 595 B
JavaScript
// 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 = [];
export function reset() {
sessionIdEvents.length = 0;
}
export function handleEvent(event) {
if (Types.TraceEvents.isTraceEventTracingSessionIdForWorker(event)) {
sessionIdEvents.push(event);
}
}
export function data() {
return {
workerSessionIdEvents: [...sessionIdEvents],
};
}
//# sourceMappingURL=WorkersHandler.js.map