singleThreadDispatcher
Creates a coroutine execution context using a single thread.
NOTE: The resulting CloseableCoroutineDispatcher owns native resources (its thread). Resources are reclaimed by CloseableCoroutineDispatcher.close.
Parameters
The name of the thread to be created.
Creates a coroutine execution context using a single thread.
NOTE: The resulting CloseableCoroutineDispatcher owns native resources (its thread). Resources are reclaimed by CloseableCoroutineDispatcher.close.
Parameters
The name of the thread to be created.
Creates a coroutine execution context using a single thread.
NOTE: The resulting CloseableCoroutineDispatcher owns native resources (its thread). Resources are reclaimed by CloseableCoroutineDispatcher.close.
Parameters
The name of the thread to be created.
Creates a coroutine execution context using a single thread. Since JavaScript does not have threading support, this will just return Dispatchers.Default
Parameters
The name of the thread to be created.
Creates a coroutine execution context using a single thread.
NOTE: The resulting CloseableCoroutineDispatcher owns native resources (its thread). Resources are reclaimed by CloseableCoroutineDispatcher.close.
Parameters
The name of the thread to be created.