Currently it is using the old (and pretty soon deprecated) SPHERE.IO Play SDK, which uses Java 7 and by default kills the asynchronous computation by making the thread wait for the result of the SPHERE Platform.
Be aware the SPHERE.IO JVM SDK looks nothing alike the previous version, so understand what the code does and try to do the same with the new version. A simple "translation" won't be enough.
Do not to migrate to Java 8 idiomatic code or use asynchronous computation in this task (use F.Promise.get() instead), otherwise the changes will be too many. We want small changes at a time, so I created specific tickets for those tasks.
Currently it is using the old (and pretty soon deprecated) SPHERE.IO Play SDK, which uses Java 7 and by default kills the asynchronous computation by making the thread wait for the result of the SPHERE Platform.
Be aware the SPHERE.IO JVM SDK looks nothing alike the previous version, so understand what the code does and try to do the same with the new version. A simple "translation" won't be enough.
Do not to migrate to Java 8 idiomatic code or use asynchronous computation in this task (use
F.Promise.get()
instead), otherwise the changes will be too many. We want small changes at a time, so I created specific tickets for those tasks.