Searched refs:CloseableCoroutineDispatcher (Results 1 – 9 of 9) sorted by relevance
13 public actual fun newSingleThreadContext(name: String): CloseableCoroutineDispatcher { in <lambda>()18 …c actual fun newFixedThreadPoolContext(nThreads: Int, name: String): CloseableCoroutineDispatcher { in newFixedThreadPoolContext()24 internal class WorkerDispatcher(name: String) : CloseableCoroutineDispatcher(), Delay {69 private class MultiWorkerDispatcher(name: String, workersCount: Int) : CloseableCoroutineDispatcher…
7 public actual abstract class CloseableCoroutineDispatcher actual constructor() : CoroutineDispatche… class
8 public expect fun newSingleThreadContext(name: String): CloseableCoroutineDispatcher11 …lic expect fun newFixedThreadPoolContext(nThreads: Int, name: String): CloseableCoroutineDispatcher
17 inline fun CloseableCoroutineDispatcher.use(block: (CloseableCoroutineDispatcher) -> Unit) { in printStackTrace()
15 private var workers: Array<CloseableCoroutineDispatcher> = emptyArray() in <lambda>()
18 public expect abstract class CloseableCoroutineDispatcher() : CoroutineDispatcher { class
41 public actual typealias CloseableCoroutineDispatcher = ExecutorCoroutineDispatcher in close() typealias
899 * Introduced `ExecutorCoroutineDispatcher` instead of `CloseableCoroutineDispatcher` (see #385). 999 * Add extension to `ExecutorService` to return `CloseableCoroutineDispatcher` (see #278, PR by @dev…