This repository has been archived by the owner on Nov 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration of Bluebird Promise Library
- Added https://github.com/petkaantonov/bluebird - All methods now works with promises. Remote methods get called like usual thanks to the awesome .nodeify() - Required modules can be "promisified" with .promisifyAll(module); - Loopback Models can be "promisified" (see strongloop/loopback#418) Result: cleaner, flatter, easier to understand code, better error handling. see http://spion.github.io/posts/why-i-am-switching-to-promises.html Why Bluebird ? see http://www.reddit.com/r/javascript/comments/1r3hwa/which_javascript_prom ise_library_is_the_best_in/
- Loading branch information
Showing
2 changed files
with
79 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters