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

Constructors

Link copied to clipboard
constructor(currentContext: KClass<*>, routine: suspend () -> Unit, repeatRoutine: Boolean = true, refreshDelay: Long = 1000)

Properties

Link copied to clipboard
Link copied to clipboard
val refreshDelay: Long = 1000
Link copied to clipboard
Link copied to clipboard
val routine: suspend () -> Unit