Package-level declarations

Types

Link copied to clipboard
class AppCoroutineScope(dispatcher: CoroutineDispatcher = Dispatchers.Default, exceptionHandler: CoroutineExceptionHandler) : CoroutineScope

App-wide coroutine scope intended to be a singleton. It is supervisor scope, meaning any unhandled exception wont affect siblings. Also, it requires exception handler to exist meaning we want all un-handled exceptions to be caught.

Functions

Link copied to clipboard
inline suspend fun <R> CoroutineScope.executeUseCase(block: () -> R): Result<R>