@codibre/fluent-iterable
Version:
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
3 lines (2 loc) • 332 B
TypeScript
import { AnyIterable } from 'augmentative-iterable';
export declare function finallyRecipe(iterableType: 'sync' | 'async'): ((this: Iterable<any>, callback: (success: boolean) => unknown) => Generator<any, void, any>) | ((this: AnyIterable<any>, callback: (success: boolean) => Promise<unknown>) => AsyncGenerator<any, void, any>);