MCPcopy Create free account
hub / github.com/freecodexyz/free-code /

Class

src/utils/stream.ts:1–1  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export class Stream<T> implements AsyncIterator<T> {
2 private readonly queue: T[] = []
3 private readResolve?: (value: IteratorResult<T>) => void
4 private readReject?: (error: unknown) => void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected