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

Method isEmpty

src/node/services/messageQueue.ts:435–437  ·  view source on GitHub ↗

* Check if queue is empty (no messages AND no images).

()

Source from the content-addressed store, hash-verified

433 * Check if queue is empty (no messages AND no images).
434 */
435 isEmpty(): boolean {
436 return this.messages.length === 0 && this.accumulatedFileParts.length === 0;
437 }
438}

Callers 7

addInternalMethod · 0.95
loadTrayIconImageFunction · 0.80
hasQueuedMessagesMethod · 0.80
restoreQueueToInputMethod · 0.80
sendQueuedMessagesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected