clientDispatcher

expect fun Dispatchers.clientDispatcher(threadCount: Int, dispatcherName: String = "ktor-client-dispatcher"): CoroutineDispatcher

Creates CoroutineDispatcher for the client with fixed threadCount and specified dispatcherName.

Report a problem

Parameters

threadCount

the number of threads for the new CoroutineDispatcher.

dispatcherName

the name of the new CoroutineDispatcher.

actual fun Dispatchers.clientDispatcher(threadCount: Int, dispatcherName: String): CoroutineDispatcher

Creates CoroutineDispatcher for client with fixed threadCount and specified dispatcherName.

Report a problem

actual fun Dispatchers.clientDispatcher(threadCount: Int, dispatcherName: String): CoroutineDispatcher

Creates CoroutineDispatcher based on thread pool of threadCount threads.

Report a problem

actual fun Dispatchers.clientDispatcher(threadCount: Int, dispatcherName: String): CoroutineDispatcher

Creates CoroutineDispatcher for client with fixed threadCount and specified dispatcherName.

Report a problem