public class ExecutorsKt
| Modifier and Type | Method and Description |
|---|---|
static ExecutorCoroutineDispatcher |
from(java.util.concurrent.ExecutorService $receiver)
Converts an instance of ExecutorService to an implementation of
class ExecutorCoroutineDispatcher. |
static CoroutineDispatcher |
from(java.util.concurrent.Executor $receiver)
Converts an instance of Executor to an implementation of
class CoroutineDispatcher. |
public static ExecutorCoroutineDispatcher from(java.util.concurrent.ExecutorService $receiver)
Converts an instance of ExecutorService to an implementation of class ExecutorCoroutineDispatcher.
class ExecutorCoroutineDispatcherpublic static CoroutineDispatcher from(java.util.concurrent.Executor $receiver)
Converts an instance of Executor to an implementation of class CoroutineDispatcher.
class CoroutineDispatcher