@unction/catchp
v4.1.4
Published
A currable version of Promise.prototype.catch
Downloads
2
Readme
@unction/catchP
MapperFunctionType<C, B> => Promise => Promise<A | B>
A port of the Promise.prototype.catch()
function.
catchP(
(exception) => console.error(exception)
)(Promise.all([fetchUser, fetchProject]))
Credit: @keithamus