UNPKG

lazy-promise

Version:

A bare-bones lazily-evaluated Promises/A+ implementation.

25 lines (12 loc) 420 B
[![Build Status](https://img.shields.io/travis/then/lazy-promise/master.svg)](https://travis-ci.org/then/lazy-promise) # lazy-promise A bare-bones lazily-evaluated Promises/A+ implementation. ## Installation $ npm install lazy-promise or $ component install then/lazy-promise ## API ### new Promise(function(resolve, reject)) Create a new lazy promise with the given function. ## License MIT