@unction/thenp
v4.2.4
Published
A currable version of the Promise.prototype.then() function
Downloads
3
Readme
@unction/thenP
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]))