class DataLoaderDSL<K, R>
<init> |
DataLoaderDSL(batchLoader: BatchLoader<K, R>) |
configure |
Lets you configure the DataLoader fun configure(block: DataLoaderOptionsDSL<K, R>.() -> Unit): Unit |
prime |
Primes the cache with the given value(s), if you have duplicate keys, the last one counts (includes prime with Throwable) fun prime(vararg pairs: Pair<K, R>): Unit
Primes the cache with the given value(s), if you have duplicate keys, the last one counts (includes prime with R) fun prime(vararg pairs: Pair<K, Throwable>): Unit |