Status for Promise

Status for Promise

NPM package that will add statuses and values to promises or promise-like-objects

Sometimes we need to know whether or not a promise has resolved without waiting for the resolution. This package will allow you to know the status without having to create some sort of external state tracker to keep track of whether a promise has resolved or not. This package mutates a promise or a promise-like object adding status properties as well as the values or error when the promise is resolved.


Aaron Young © 2020. All rights reserved.