Package Exports
- queryable-promise
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (queryable-promise) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
queryable-promise
A utility library for inspecting promises during development.
Installation
npm i queryable-promise
Usage
const queryable = require('queryable-promise');
const val = queryable(superFunPromiseFunction(val));
await val;
console.log(val.isResolved()); // `true`
console.log(val.val()); // whatever the resolved value is.