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

Function init

packages/server/src/plugins/rethrow.test.ts:171–179  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

169 }),
170 {
171 init(options) {
172 options.rootInterceptors?.push(async (options) => {
173 // Corrupt the context
174 return options.next({
175 ...options,
176 context: {},
177 })
178 })
179 },
180 },
181 ],
182 })

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected