UNPKG

dashp

Version:

Utilities for monadic promises.

7 lines (5 loc) 164 B
import {of} from "./Future"; import nameFn from "./internal/namefn"; export default nameFn("all", (xs) => () => of(xs).then((ys) => Promise.all(ys.map(of))), );