yortus / asyncawait

Callback heaven for Node.js with async/await
MIT License
1.91k stars 77 forks source link

Can I use it in angular? #19

Closed diegomesata closed 9 years ago

diegomesata commented 9 years ago

Can I use it in angular? How can I do it?

Thank you

yortus commented 9 years ago

Use can use it server-side (ie with node.js) but not client-side. That's because it uses a node-specific library called node-fibers to provide coroutine support, and browsers don't support this.

I don't use angular so I don't have any angular-specific advice to give. But there should be no problem using this in your server-side code regardless of which framework you use.