MCPcopy Create free account
hub / github.com/middleapi/orpc / call

Function call

packages/durable-iterator/src/client/plugin.test.ts:52–60  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

50
51 const link = new StandardRPCLink({
52 async call(request) {
53 const result = await handler.handle({ ...request, body: () => Promise.resolve(request.body) }, {
54 context: {},
55 })
56
57 const response = result.response!
58
59 return { ...response, body: () => Promise.resolve(response.body) }
60 },
61 }, {
62 url: 'http://localhost',
63 clientInterceptors: [interceptor],

Callers

nothing calls this directly

Calls 1

handleMethod · 0.45

Tested by

no test coverage detected