import { Mapper } from 'augmentative-iterable'; import { FluentAsyncIterable, FluentIterable } from '../base'; export interface NextFunction { /** * Chain the iterable with a next transformation, of total control of the callback function * @param callback the callback function */ (callback: Mapper, R>): R; } export interface AsyncNextFunction { /** * Chain the async iterable with a next transformation, of total control of the callback function * @param callback the callback function */ (callback: Mapper, R>): R; }