typed-patterns
Version:
Basic design patterns
7 lines • 379 B
TypeScript
import { TypedFunction } from '../../util';
/**
* Creates synchronous processor based on chain-of-responsibility
* @param processors Chain of single-responsible processors
*/
export declare function buildSyncProcessor<Context, Result>(processors: Iterable<TypedFunction<[Context], Result>>): TypedFunction<[Context], Result>;
//# sourceMappingURL=build.sync.processor.d.ts.map