UNPKG

multitude

Version:

Comprehensive streams for push and pull

8 lines (7 loc) 303 B
import { Empty, NullaryFn, UnaryFn } from 'type-core'; export declare class Handler { static noop(): void; static identity<T>(value: T): T; static tries(tries: Empty | NullaryFn, catches: Empty | UnaryFn<Error>, finalizes: Empty | NullaryFn): void; static throws(error: Error): never; }