import { AnyIterable } from 'augmentative-iterable'; import { FluentAsyncIterable, FluentIterable } from '../base'; export interface WhenEmptyFunction { /** * Iterates over a fallback iterable when the original is empty * @param fallback the fallback iterable */ (fallback: Iterable): FluentIterable; } export interface AsyncWhenEmptyFunction { /** * Iterates over a fallback iterable when the original is empty * @param fallback the fallback iterable */ (fallback: AnyIterable): FluentAsyncIterable; }