Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-gemini/gemini-cli
/ emit
Method
emit
packages/cli/src/utils/devtoolsService.test.ts:36–40 ·
view source on GitHub ↗
(event: string, ...args: unknown[])
Source
from the content-addressed store, hash-verified
34
}
35
36
emit(event: string, ...args: unknown[]) {
37
for
(
const
fn of this.listeners.get(event) || []) {
38
fn(...args);
39
}
40
}
41
42
simulateOpen() {
43
this.emit(
'open'
);
Callers
15
simulateOpen
Method · 0.95
simulateError
Method · 0.95
setupUnhandledRejectionHandler
Function · 0.45
gemini.test.tsx
File · 0.45
updateEventEmitter.test.ts
File · 0.45
events.test.ts
File · 0.45
relaunch.test.ts
File · 0.45
createMockChildProcess
Function · 0.45
handleAutoUpdate
Function · 0.45
enableNetworkLogging
Method · 0.45
safeEmitNetwork
Method · 0.45
logConsole
Method · 0.45
Calls
2
fn
Function · 0.50
get
Method · 0.45
Tested by
no test coverage detected