UNPKG

catsys

Version:

Category-theoretic system design framework for scalable, modular systems using mathematical foundations

4 lines (3 loc) 238 B
export type M<A> = Promise<A>; export declare const R: <A extends any[], B>(f: (...a: A) => B) => (...a: A) => Promise<B>; export declare const O: <A extends any[], B>(name: string, f: (...a: A) => Promise<B>) => (...a: A) => Promise<B>;