Skip to main content
Module

x/froebel/mod.ts>bundle

A strictly typed utility library.
Go to Latest
variable bundle
import { bundle } from "https://deno.land/x/froebel@v0.21.3/mod.ts";

Given a list of functions that accept the same parameters, returns a function that takes these parameters and invokes all of the given functions.

The returned function returns a promise that resolves once all functions returned/resolved and rejects if any of the functions throws/rejects - but only after all returned promises have been settled.

type

<T extends unknown[]>(...funs: (λ<T> | undefined)[]) => unknown