**Problem** All my projects now have functions that returns promises. **Idea** How about some specific promise documentation? **Example** ``` /** * @promise Get user from database. * @resolve {object} user information * @reject {Error} validation error, connection error */ ``` Following this spec: http://promises-aplus.github.io/promises-spec/
Problem
All my projects now have functions that returns promises.
Idea
How about some specific promise documentation?
Example
Following this spec: http://promises-aplus.github.io/promises-spec/