MCPcopy Create free account
hub / github.com/MultithreadedJSBook/code-samples /

Class

ch2-patterns/rpc-worker.js:1–1  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class RpcWorker {
2 constructor(path) {
3 this.next_command_id = 0;
4 this.in_flight_commands = new Map();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected