villadora / cayley.js

Nodejs Client for Cayley
Other
57 stars 14 forks source link

add promise style if no callback provided #1

Closed villadora closed 10 years ago

villadora commented 10 years ago
  1. choose one promise for default
  2. allow user to use other promise libs
  3. using promise when Promise is available in global?
  4. only take care how to create a promise
    • rsvp.js
    • q
    • bluebird
    • avow
    • when
villadora commented 10 years ago

The constructor-spec is not settled yet. https://github.com/promises-aplus/constructor-spec/

A thenable object may return if no callback function is provided