lazify

convenient wrapper for lazy promises

  • lazify

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
lazify
001.0.010 years ago10 years agoMinified + gzip package size for lazify in KB

Readme

lazify
convenient wrapper for lazy promises

Installation

$ npm install lazify
or
$ component install nathan7/lazify

API

lazify :: (-> Promise a) -> LazyPromise a

Takes a function that returns a promise and returns a lazy promise. The edge case of returning a value or throwing an error is handled.

License

MIT