i think you have a few options for this code 1. ma...
# tornadofx
c
i think you have a few options for this code 1. make it completely synchronous. the async part is handled by the Task 2. return a Future. wait on it in the runAsync block to return the real value 3. add a onSuccess() callback to the resultorexec 4. post an event within the getResultorexec code