@codibre/fluent-iterable
Version:
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
9 lines (8 loc) • 335 B
TypeScript
import { FluentIterable, FluentAsyncIterable } from '../base';
import { AsyncCatchCallback, CatchCallback } from '../catch-callback';
export interface CatchFunction<T> {
(errorCallback: CatchCallback): FluentIterable<T>;
}
export interface AsyncCatchFunction<T> {
(errorCallback: AsyncCatchCallback): FluentAsyncIterable<T>;
}