MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / iter_chunked

Method iter_chunked

conftest.py:45–46  ·  view source on GitHub ↗
(self, n: int)

Source from the content-addressed store, hash-verified

43 return streams.AsyncStreamIterator(self.readline) # type: ignore[attr-defined]
44
45 def iter_chunked(self, n: int) -> streams.AsyncStreamIterator[bytes]:
46 return streams.AsyncStreamIterator(lambda: self.read(n)) # type: ignore[attr-defined]
47
48 def iter_any(self) -> streams.AsyncStreamIterator[bytes]:
49 return streams.AsyncStreamIterator(self.readany) # type: ignore[attr-defined]

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected