Closed zhangpp520 closed 9 years ago
You can just return a promise from your service. You can use any Promises/A+ implementation like https://github.com/petkaantonov/bluebird or https://github.com/cujojs/when
Thank you so much.I think maybe you can mention that in the doc.
Scatter can make the service become a dependency is so powerful,but if an injected service is an asynchronous method and need an callback argument,how deal with that?