UNPKG

fluent-iterable

Version:

Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).

10 lines (9 loc) 404 B
import { FluentAsyncIterable } from './types'; /** * Tranforms an asynchronous iterable into a [[FluentAsyncIterable]]. * @typeparam T The type of the items in the async iterable. * @param iterable The asynchronous iterable instance. * @returns The [[FluentAsyncIterable]] instance. */ declare function fluentAsync<T>(iterable: AsyncIterable<T>): FluentAsyncIterable<T>; export default fluentAsync;