Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlchat/sqlchat
/
Class
src/utils/event-emitter.ts:5–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
type
Callback = () => void;
4
5
class
EventEmitter {
6
private static instance: EventEmitter;
7
private events: { [eventName: string]: Callback[] } = {};
8
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected