pender
v1.0.1
Published
JavaScript package for promises that stops data from getting called upon until awaited
Downloads
5
Maintainers
Readme
Promise Pender
JavaScript package for promises that stops data from getting called upon until awaited Pending data reduces lag when getting large amounts of data at one time
- easy to use
- open source
npm i pender
npm i paishee/pender
const pend = require('pender');
import('node-fetch');
let res = pend( () => fetch("https://google.com") );
console.log(res);
console.log(await res);
PenderPromise <pending>
_Response { ... }