Coroutine Scope Owner
interface CoroutineScopeOwner
Content copied to clipboard
This interface gives your class ability to execute UseCase and FlowUseCase Coroutine use cases. You may find handy to implement this interface in custom Presenters, ViewHolders etc. It is your responsibility to cancel coroutineScope when when all running tasks should be stopped.
Types
Functions
defaultErrorHandler
Link copied to clipboard
This method is called when coroutine launched with launchWithHandler throws an exception and this exception isn't CancellationException.
execute
Link copied to clipboard
open fun <T> FlowUseCase<Unit, T>.execute(config: CoroutineScopeOwner.FlowUseCaseConfig.Builder<T>.() -> Unit)
Content copied to clipboard
open fun <ARGS, T> FlowUseCase<ARGS, T>.execute(args: ARGS, config: CoroutineScopeOwner.FlowUseCaseConfig.Builder<T>.() -> Unit)
Content copied to clipboard
getWorkerDispatcher
Link copied to clipboard
launchWithHandler
Link copied to clipboard
Properties
coroutineScope
Link copied to clipboard
Inheritors
BaseCrViewModel
Link copied to clipboard