groostav
12/30/2016, 11:53 AMprivate fun doSomething() = async<Unit> {
//calls await methods, jumps on and off UI thread
}
@FXML fun handler(clickEvent: Event){
doSomething(); //note: we throw the `Future` returned by `async` in the trash here
}