0.0.1 • Published 9 years ago
superlazypromise v0.0.1
superlazypromise
Promise made lazy !
Installation
Then install it via npm:
$ npm install --save superlazypromiseOr via bower:
$ bower install --save superlazypromiseExample Usage
const LazyPromise = require('superlazypromise').LazyPromise;
let promise = new LazyPromise((resolve, reject) => {
// stuff
});
promise.then(/* fn */); // <- promise executed hereLicense
ISC License. See the LICENSE file.
0.0.1
9 years ago