MCPcopy
hub / github.com/erictik/midjourney-api / emit

Method emit

src/discord.ws.ts:514–518  ·  view source on GitHub ↗
(event: string, message: any)

Source from the content-addressed store, hash-verified

512 }
513
514 emit(event: string, message: any) {
515 this.event
516 .filter((e) => e.event === event)
517 .forEach((e) => e.callback(message));
518 }
519 private emitImage(type: string, message: MJEmit) {
520 this.emit(type, message);
521 }

Callers 7

messageUpdateMethod · 0.95
continueMethod · 0.95
verifyHumanMethod · 0.95
EventErrorMethod · 0.95
emitImageMethod · 0.95
emitMJMethod · 0.95
emitSystemMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected