Progress communcation for compute intensive-code? ...
# tornadofx
e
Progress communcation for compute intensive-code? Something like this:
Copy code
asyncRun(myComputePool) { 
   while (true) { 
       // some heavy computation in compute thread pool
      asyncRun(JavaFx) { myLabel.text = "current progress is $x" } 
   }
}
So, basically
asyncRun(JavaFx) { ... }
is like a
Platform.runLater