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

Method getEventById

src/discord.ws.ts:488–494  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

486 }
487
488 private getEventById(id: string) {
489 for (const [key, value] of this.waitMjEvents.entries()) {
490 if (value.id === id) {
491 return value;
492 }
493 }
494 }
495 private getEventByNonce(nonce: string) {
496 for (const [key, value] of this.waitMjEvents.entries()) {
497 if (value.nonce === nonce) {

Callers 3

EventErrorMethod · 0.95
processingImageMethod · 0.95
emitMJMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected