MCPcopy Index your code
hub / github.com/tiann/hapi /

Class

cli/src/utils/MessageQueue2.ts:15–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 * Returns consistent batches of messages with the same mode.
14 */
15export class MessageQueue2<T> {
16 public queue: QueueItem<T>[] = []; // Made public for testing
17 private waiter: ((hasMessages: boolean) => void) | null = null;
18 private closed = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected