MCPcopy Create free account
hub / github.com/disler/pi-vs-claude-code / enqueue

Function enqueue

scripts/coms-net-server.ts:623–630  ·  view source on GitHub ↗
(frame: string)

Source from the content-addressed store, hash-verified

621 session_id,
622 lastId,
623 enqueue(frame: string) {
624 if (closed) return;
625 try {
626 controller.enqueue(enc.encode(frame));
627 } catch {
628 closed = true;
629 }
630 },
631 close() {
632 if (closed) return;
633 closed = true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected