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

File iterator.test.ts

packages/shared/src/iterator.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { AsyncIteratorClass, asyncIteratorWithSpan, isAsyncIteratorObject, replicateAsyncIterator } from './iterator'
2import * as trace from './otel'
3
4const runInSpanContextSpy = vi.spyOn(trace, 'runInSpanContext')

Callers

nothing calls this directly

Calls 9

isAsyncIteratorObjectFunction · 0.90
replicateAsyncIteratorFunction · 0.90
asyncIteratorWithSpanFunction · 0.90
gen2Function · 0.85
returnMethod · 0.80
throwMethod · 0.80
pushMethod · 0.80
genFunction · 0.70
nextMethod · 0.45

Tested by

no test coverage detected