kgraphql / com.apurebase.kgraphql.test.dsl / DataLoaderDSL / prime

prime

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 Throwable)

@JvmName("primeError") fun prime(vararg pairs: Pair<K, Throwable>): Unit

Primes the cache with the given value(s), if you have duplicate keys, the last one counts (includes prime with R)