MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / proceed

Method proceed

packages/orm/src/client/client-impl.ts:341–346  ·  view source on GitHub ↗
(nextInput: unknown)

Source from the content-addressed store, hash-verified

339
340 const invokeWithClient = async (client: any, _input: unknown) => {
341 let proceed = async (nextInput: unknown) => {
342 const sanitizedNextInput =
343 nextInput && typeof nextInput === 'object' && !Array.isArray(nextInput) ? nextInput : {};
344
345 return handler({ client, ...sanitizedNextInput });
346 };
347
348 // apply plugins
349 const plugins = [...(client.$options?.plugins ?? [])];

Callers 2

procedures.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected