MCPcopy
hub / github.com/coder/mux / emit

Method emit

src/node/services/workspaceService.ts:1512–1512  ·  view source on GitHub ↗
(
    event: U,
    ...args: Parameters<WorkspaceServiceEvents[U]>
  )

Source from the content-addressed store, hash-verified

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]>
1515 ): boolean;

Callers 15

emitWorkspaceActivityMethod · 0.95
removeMethod · 0.95
renameMethod · 0.95
archiveMethod · 0.95
unarchiveMethod · 0.95
forkMethod · 0.95
truncateHistoryMethod · 0.95
resetContextMethod · 0.95

Calls

no outgoing calls

Tested by 7

emitStreamEndFunction · 0.52
mockCoderCommandResultFunction · 0.52
emitMethod · 0.52
finishMethod · 0.52
emitFunction · 0.52
handleUpgradeFunction · 0.52
emitTaskCreatedFunction · 0.52