Roman's talk on coroutines was really good too. H...
# tornadofx
c
Roman's talk on coroutines was really good too. He compared and contrasted some of the other coroutine implementations, going through the 60's and 70's before multithreading took over. I think the coroutines are important in JavaFX coding because it makes a nicer pattern where have a sequence of tasks interleaved with UI interactions. To do this in both JavaFX and TorandoFX, you'll need the Task class. Ex, something like this for a user interaction in between two tasks async { doSomethingLong() } ui { openModal() async { doSomethingElse() } ui { finishUp() } } Would be turned into doSomethingLong()