@gourmet/promise-protect
v0.3.3
Published
Protects a function from exceptions and wraps the return value with a promise
Readme
@gourmet/promise-protect
Protects a function from exceptions and wraps the return value with a promise
Why?
This is syntactically explicit and slightly more efficient than Promise.resolve().then(...).
