@unction/thenp
TypeScript icon, indicating that this package has built-in type declarations

4.2.4 • Public • Published

@unction/thenP

Tests Stability Dependencies

MapperFunctionType<A, B> => Promise => Promise<D | B>

A port of the Promise.prototype.then() function.

Credit: @keithamus

thenP(
  ([user, project]) => console.log(user, project)
)(Promise.all([fetchUser, fetchProject]))

Readme

Keywords

Package Sidebar

Install

npm i @unction/thenp

Weekly Downloads

0

Version

4.2.4

License

ISC

Unpacked Size

17.4 kB

Total Files

25

Last publish

Collaborators

  • krainboltgreene