Taxi

May 30, 2018 ยท View on GitHub

Promises/A+ logo

Build Status
Coverage Status

Taxi

A tiny example Promises/A+ implementation.
No any other features.
Simple and annotated with the spec content.
Good for educating.

API

  • new Taxi()
    • .then([Function fulfilledHandler] [, Function rejectedHandler ])
    • .done([Function fulfilledHandler] [, Function rejectedHandler ])
    • .catch(Function handler)
    • .fulfill(dynamic result)
    • .reject(dynamic reason)

Test

npm run test

License

MIT