0.3.3 • Published 5 years ago

@gourmet/promise-protect v0.3.3

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

@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(...).