DataLoader

class DataLoader<K, V>(batchLoader: suspend (List<K>) -> Map<K, V?>)

Types

DataScope
Link copied to clipboard
inner class DataScope(totalTimes: Int, scope: CoroutineScope) : CoroutineScope

Functions

begin
Link copied to clipboard
fun begin(totalTimes: Int, scope: CoroutineScope): DataLoader.DataScope<K, V>