MCPcopy Index your code
hub / github.com/coder/mux / on

Method on

src/node/services/workspaceService.ts:1511–1511  ·  view source on GitHub ↗
(event: U, listener: WorkspaceServiceEvents[U])

Source from the content-addressed store, hash-verified

1509// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
1510export declare interface WorkspaceService {
1511 on<U extends keyof WorkspaceServiceEvents>(event: U, listener: WorkspaceServiceEvents[U]): this;
1512 emit<U extends keyof WorkspaceServiceEvents>(
1513 event: U,
1514 ...args: Parameters<WorkspaceServiceEvents[U]>

Callers 15

preload.tsFile · 0.80
openTerminalWindowMethod · 0.80
main.tsFile · 0.80
createTrayFunction · 0.80
showSplashScreenFunction · 0.80
loadServicesFunction · 0.80
createWindowFunction · 0.80
setupEventHandlersMethod · 0.80
runCliFunction · 0.80
runCliWithClosedStdinFunction · 0.80
runRunDirectFunction · 0.80

Calls

no outgoing calls

Tested by 15

runCliFunction · 0.64
runCliWithClosedStdinFunction · 0.64
runRunDirectFunction · 0.64
createWebSocketClientFunction · 0.64
httpGetFunction · 0.64
createHarnessFunction · 0.64
onFunction · 0.64
onFunction · 0.64
onFunction · 0.64
httpGetFunction · 0.64
httpGetFunction · 0.64
processCleanupStreamFunction · 0.64