JavaFx
object JavaFx : CoroutineDispatcher, Delay
Dispatches execution onto JavaFx application thread and provides native delay support.
Functions
suspend fun awaitPulse(): Long Suspends coroutine until next JavaFx pulse and returns time of the pulse on resumption. If the Job of the current coroutine is completed while this suspending function is waiting, this function immediately resumes with CancellationException . |
|
fun dispatch( |
|
fun invokeOnTimeout( |
|
fun scheduleResumeAfterDelay( |
|
fun toString(): String |