iter-tools-es
Version:
The iterable toolbox
4 lines • 326 B
TypeScript
import { AsyncWrappable, AsyncIterableIterator } from '../../types/async-iterable';
declare function asyncInterpose<V>(value: V): <T>(source: AsyncWrappable<T>) => AsyncIterableIterator<T | V>;
declare function asyncInterpose<V, T>(value: V, source: AsyncWrappable<T>): AsyncIterableIterator<T | V>;
export { asyncInterpose };