tsoid
Version:
Typed functional library to deal with async operations.
9 lines (8 loc) • 319 B
TypeScript
import { FunctionPromiseA1 } from './types';
/**
* Exec will execute all the actions synchronously and return nothing.
* If any action throws any error, it will be propagated to the caller.
*
* @param {function[]} fns
*/
export default function exec(...fns: FunctionPromiseA1<void, any>[]): Promise<void | Error>;