crazy-promise
v1.0.1
Published
A promise that resolves with random delays for testing purposes.
Downloads
10
Readme
crazy-promise
A promise that resolves with random delays for testing purposes.
Installation
$ npm install crazy-promise
or
$ component install nathan7/crazy-promise
API
new CrazyPromise(function(resolve, reject))
Create a new crazy promise with the given function.
CrazyPromise.from(thenable)
Convert a promies to a crazy promise.
License
MIT