Skip to content
A promise that resolves with random delays for testing purposes.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
.jshintrc
README.md
component.json
index.js
package.json

README.md

Build Status

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

Something went wrong with that request. Please try again.