1 | import { IterableX } from './iterablex';
|
2 | /**
|
3 | * Creates a new iterable using the specified function implementing the members of AsyncIterable
|
4 | *
|
5 | * @export
|
6 | * @template T The type of the elements returned by the iterable sequence.
|
7 | * @param {(() => Iterator<T>)} fn The function that creates the [Symbol.iterator]() method
|
8 | * @returns {IterableX<T>} A new iterable instance.
|
9 | */
|
10 | export declare function create<T>(getIterator: () => Iterator<T>): IterableX<T>;
|