tornadofx / tornadofx / javafx.concurrent.Task

Extensions for javafx.concurrent.Task

cancel infix fun <T> Task<T>.cancel(func: () -> Unit): <ERROR CLASS>
fail infix fun <T> Task<T>.fail(func: (Throwable) -> Unit): <ERROR CLASS>
finally infix fun <T> Task<T>.finally(func: () -> Unit): Unit
success infix fun <T> Task<T>.success(func: (T) -> Unit): <ERROR CLASS>
ui infix fun <T> Task<T>.ui(func: (T) -> Unit): <ERROR CLASS>