UNPKG

@rimbu/stream

Version:

Efficient structure representing a sequence of elements, with powerful operations for TypeScript

11 lines (9 loc) 364 B
import type { AsyncFastIterator } from '@rimbu/stream/async'; /** * An interface that extends the standard `AsyncIterable` interface to return * an `AsyncFastIterator` instead of a normal `AsyncIterator`. * @typeparam T - the element type */ export interface AsyncFastIterable<T> extends AsyncIterable<T> { [Symbol.asyncIterator](): AsyncFastIterator<T>; }