elizarov
private suspend fun doSomething() { //calls await methods, jumps on and off UI thread } @FXML fun handler(clickEvent: Event){ background { doSomething(); } }