fun requestTermination( processScheduledJobs: Boolean = true ): Future<Unit>
Requests termination of the worker.
processScheduledJobs
- controls is we shall wait until all scheduled jobs processed, or terminate immediately.
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native.concurrent/-worker/request-termination.html