RetrievingRoutine
private data class RetrievingRoutine( val currentContext: KClass<*>, val routine: suspend () -> Unit, val repeatRoutine: Boolean = true, val refreshDelay: Long = 1000)
The RetrievingRoutine data class is useful to memorize the last routine executed by the execute method
Parameters
currentContext
The current context where the retrieverScope is executing
routine
The refresh routine to execute
repeatRoutine
Whether repeat the routine or execute a single time
refreshDelay
The delay between the execution of the requests