So, with `asyncRun`/`fork`/`go` (however we name i...
# tornadofx
e
So, with `asyncRun`/`fork`/`go` (however we name it) this code presumably can change to something like
Copy code
asyncRun {
                       title = "Doing some work"
                       for (i in 1..10) {
                           message = "Working $i..."
                           if (i == 5)
                               title = "Dome something else"
                           sleep(200) // you can also do all kinds of non-blocking IO here
                           progress = i.toLong()
                       }
                   }