Dispatching

interface Dispatching

An interface serving as a namespace containing qualifier annotations for different CoroutineDispatchers.

This namespace defines qualifier annotations for different coroutine dispatchers, to simplify injection by distinguishing between the main, default, IO, and unconfined dispatchers. These annotations are used to inject either the corresponding dispatcher or coroutine scope with the same context.

Types

Link copied to clipboard
@Qualifier
annotation class Default

Qualifier annotation for the default CoroutineDispatcher.

Link copied to clipboard
@Qualifier
annotation class IO

Qualifier annotation for the IO CoroutineDispatcher.

Link copied to clipboard
@Qualifier
annotation class Main

Qualifier annotation for the main CoroutineDispatcher.

Link copied to clipboard
@Qualifier
annotation class Unconfined

Qualifier annotation for the unconfined CoroutineDispatcher.