IoDispatcher

@Qualifier
annotation class IoDispatcher

Qualifier annotation for injecting the I/O coroutine dispatcher.

Use this annotation when you need a dispatcher for blocking I/O operations like network requests, database queries, or file system operations.

Usage Example

class Repository @Inject constructor(
@IoDispatcher private val ioDispatcher: CoroutineDispatcher
)

This is the most commonly used dispatcher in repositories and data sources.

See also