You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to provide ExecutorService.asCoroutineDispatcher extension in addition to Executor.asCoroutineDispatcher that would return a subclass of CoroutineDispatcher that also implements Closeable interface and delegates close to shutdown of the underlying ExecutorService.
The text was updated successfully, but these errors were encountered:
This issue in inspired by this SO question: https://stackoverflow.com/questions/49217668/shut-down-the-underlying-executor-of-executorcoroutinedispatcher
The idea is to provide
ExecutorService.asCoroutineDispatcher
extension in addition toExecutor.asCoroutineDispatcher
that would return a subclass ofCoroutineDispatcher
that also implementsCloseable
interface and delegatesclose
toshutdown
of the underlyingExecutorService
.The text was updated successfully, but these errors were encountered: