onScheduled
fun Service<*>.onScheduled(context: CoroutineContext = Dispatchers.JavaFx, action: suspend CoroutineScope.(WorkerStateEvent) -> Unit)
See also
Service.setOnScheduled
fun Task<*>.onScheduled(context: CoroutineContext = Dispatchers.JavaFx, action: suspend CoroutineScope.(WorkerStateEvent) -> Unit)
See also
Task.setOnScheduled