public class ThreadPoolDispatcher
Dispatches coroutine execution to a thread pool of a fixed size. Instances of this dispatcher are created with newSingleThreadContext and newFixedThreadPoolContext.
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this dispatcher -- shuts down all threads in this pool and releases resources.
|
java.lang.String |
toString() |