onFinished

fun JFXAnimationTimer.onFinished(context: CoroutineContext = Dispatchers.JavaFx, action: suspend CoroutineScope.() -> Unit)

See also

JFXAnimationTimer.setOnFinished