UNPKG

jokio

Version:

core, awesome, simple functions

10 lines (9 loc) 424 B
import { ComposeFunction } from './compose'; export declare const runWith: (props?: RunProps) => <TState>(...functions: ComposeFunction<TState>[]) => Promise<TState>; declare const _default: <TState>(...functions: ComposeFunction<TState>[]) => Promise<TState>; export default _default; export interface RunProps { errorFn?: (err: any) => Promise<void> | void; showTime?: boolean; disableGlobalScope?: boolean; }