Files
qwen-code/packages/core/src/utils/promptIdContext.ts
2025-10-23 09:27:04 +08:00

10 lines
208 B
TypeScript

/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { AsyncLocalStorage } from 'node:async_hooks';
export const promptIdContext = new AsyncLocalStorage<string>();