so whats the easiest way in tornadofx to spawn a c...
# tornadofx
n
so whats the easiest way in tornadofx to spawn a coroutine and run it in parallel ? it will be running a websocket connection and may trigger UI updates
a
Я think, those are orthagonal. Tornado does not use coroutines, so the only thing you need to remember is to run UI actions on
JavaFX
dispatcher
n
i am running the websocket in
GlobalScope.launch
for now.. and all things interactin with javafx i do in
launch(Dispatchers.JavaFX)
, it seems to work, good enough for now