MCPcopy Create free account
hub / github.com/middleapi/orpc / batch.test.ts

File batch.test.ts

packages/client/src/plugins/batch.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { StandardRequest } from '@orpc/standard-server'
2import type { RouterClient } from '../../../server/src/router-client'
3import { isAsyncIteratorObject } from '@orpc/shared'
4import { toBatchResponse } from '@orpc/standard-server/batch'

Callers

nothing calls this directly

Calls 8

toBatchResponseFunction · 0.90
createORPCClientFunction · 0.90
bodyMethod · 0.80
handlerMethod · 0.80
callMethod · 0.65
abortMethod · 0.65
errorMethod · 0.65
handleMethod · 0.45

Tested by

no test coverage detected