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

Method getImport

src/serialize.ts:36–36  ·  view source on GitHub ↗
(hook: StubHook)

Source from the content-addressed store, hash-verified

34 exportStub(hook: StubHook): ExportId;
35 exportPromise(hook: StubHook): ExportId;
36 getImport(hook: StubHook): ImportId | undefined;
37
38 // If a serialization error occurs after having exported some capabilities, this will be called
39 // to roll back the exports.

Callers 1

devaluateImplMethod · 0.65

Implementers 3

MapBuildersrc/map.ts
NullExportersrc/serialize.ts
RpcSessionImplsrc/rpc.ts

Calls

no outgoing calls

Tested by

no test coverage detected