MCPcopy
hub / github.com/cloudflare/capnweb / sendRelease

Method sendRelease

src/rpc.ts:857–862  ·  view source on GitHub ↗
(id: ImportId, remoteRefcount: number)

Source from the content-addressed store, hash-verified

855 }
856
857 sendRelease(id: ImportId, remoteRefcount: number) {
858 if (this.abortReason) return;
859
860 this.send(["release", id, remoteRefcount]);
861 delete this.imports[id];
862 }
863
864 abort(error: any, trySendAbortMessage: boolean = true) {
865 // Don't double-abort.

Callers 1

sendReleaseMethod · 0.45

Calls 1

sendMethod · 0.95

Tested by

no test coverage detected