2025-07-29 08:56:52 +08:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright 2025 Google LLC
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2025-08-26 04:11:27 +08:00
|
|
|
import { EventEmitter } from 'node:events';
|
2025-07-29 08:56:52 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A shared event emitter for application-wide communication
|
|
|
|
|
* between decoupled parts of the CLI.
|
|
|
|
|
*/
|
|
|
|
|
export const updateEventEmitter = new EventEmitter();
|