superlazypromise

0.0.1 • Public • Published

superlazypromise

Promise made lazy !

Installation

Then install it via npm:

$ npm install --save superlazypromise

Or via bower:

$ bower install --save superlazypromise

Example Usage

const LazyPromise = require('superlazypromise').LazyPromise;
 
let promise = new LazyPromise((resolve, reject) => {
    // stuff
});
promise.then(/* fn */); // <- promise executed here

License

ISC License. See the LICENSE file.

/superlazypromise/

    Package Sidebar

    Install

    npm i superlazypromise

    Weekly Downloads

    0

    Version

    0.0.1

    License

    ISC

    Last publish

    Collaborators

    • bios21