mangei/onion-routing

don't block on requests

Closed this issue · 0 comments

if you get a promise and use .get(...), you will block the thread

this is against the reactive model of play!

you have to use a callback to properly handle these types of requests

please don't use java 8 lambda - it would break the build

infos: http://typesafe.com/blog/play-framework-with-java-8