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

Method getEntry

src/rpc.ts:313–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

311 }
312
313 getEntry(): ImportTableEntry {
314 if (this.entry) {
315 return this.entry;
316 } else {
317 // Shouldn't get here in practice since the holding stub should have replaced the hook when
318 // disposed.
319 throw new Error("This RpcImportHook was already disposed.");
320 }
321 }
322
323 // -------------------------------------------------------------------------------------
324 // implements StubHook

Callers 6

callMethod · 0.95
streamMethod · 0.95
mapMethod · 0.95
getMethod · 0.95
dupMethod · 0.95
pullMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected