MCPcopy
hub / github.com/apify/crawlee / asyncifyIterable

Function asyncifyIterable

packages/utils/src/internals/iterables.ts:63–65  ·  view source on GitHub ↗
(iterable: Iterable<T> | AsyncIterable<T>)

Source from the content-addressed store, hash-verified

61 * ```
62 */
63export async function* asyncifyIterable<T>(iterable: Iterable<T> | AsyncIterable<T>): AsyncIterable<T> {
64 yield* iterable;
65}
66
67/**
68 * Lazily splits the input async iterable into chunks of specified size.

Callers 2

iterables.test.tsFile · 0.90
peekableAsyncIterableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…