Codibre/fluent-iterable

View on GitHub
src/types/function-types/catch-functions.ts

Summary

Maintainability
A
0 mins
Test Coverage
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>;
}