Added proper tests for half-sync-half-async

This commit is contained in:
Jeroen Meulemeester
2015-12-13 12:55:13 +01:00
parent ca14e8ddad
commit dbca06a9e7
3 changed files with 85 additions and 0 deletions

View File

@ -50,6 +50,7 @@ public class AsynchronousService {
task.onPreCall();
} catch (Exception e) {
task.onError(e);
return;
}
service.submit(new FutureTask<T>(task) {