Download src/lib/chatEventEmitter.ts from IOE-IFAD/test: direct link, hf CLI and curl.
- Browser
- Download file 192 Bytes
-
https://huggingface.co/spaces/IOE-IFAD/test/resolve/main/src/lib/chatEventEmitter.ts
- Command line
-
hf download hf://spaces/IOE-IFAD/test/src/lib/chatEventEmitter.ts
-
curl -L -o chatEventEmitter.ts https://huggingface.co/spaces/IOE-IFAD/test/resolve/main/src/lib/chatEventEmitter.ts
192 Bytes
| import { EventEmitter } from 'events'; | |
| export const chatEventEmitter = new EventEmitter(); | |
| export const CHAT_UPDATED_EVENT = 'CHAT_UPDATED'; | |
| export const CHAT_RENAMED_EVENT = 'CHAT_RENAMED'; | |