setOnAction { val t = FXTask... t.setOnSucceeded...
# tornadofx
c
setOnAction { val t = FXTask... t.setOnSucceeded( { doSomething() } ) t.start() }