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

Method createPipe

src/serialize.ts:45–45  ·  view source on GitHub ↗
(readable: ReadableStream, hook: StubHook)

Source from the content-addressed store, hash-verified

43 // into the pipe's writable end. Returns the import ID assigned to the pipe. `hook` should be
44 // disposed when the pipe finishes.
45 createPipe(readable: ReadableStream, hook: StubHook): ImportId;
46
47 onSendError(error: Error): Error | void;
48}

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