Package-level declarations
Types
A CoroutineDispatcher that wraps around an AsyncExecutor instance (executor) to execute tasks asynchronously.
The base interface of CoroutineContext for dispatchers.
The main LittleKt coroutine scope. Executes tasks on the main rendering thread. See MainDispatcher
Executes tasks on the main rendering threads. See RenderingThreadDispatcher
A CoroutineDispatcher that wraps around a Context to execute tasks on main rendering thread.
Functions
Returns true if the coroutine was launched from the rendering thread dispatcher.
Creates a new AsyncThreadDispatcher wrapping around an AsyncExecutor with the chosen amount of threads to execute tasks asynchronously outside of the main rendering thread.
Creates a new AsyncThreadDispatcher wrapping around an AsyncExecutor with a single thread to execute tasks asynchronously outside of the main rendering thread.
Suspends the coroutine to execute the defined block on the main rendering thread and return its result.
Properties
THe main LittleKt coroutine dispatcher. Executes tasks on the main rendering thread. See MainDispatcher