Skip to content

//tempest2/app.cash.tempest2/View/load

load

[jvm]\ abstract fun load(key: K, consistentReads: Boolean = false): I?

Returns an item whose keys match those of the prototype key object given, or null if no such item exists.

[jvm]\ abstract fun load(key: K, consistentReads: Boolean = false, returnConsumedCapacity: ReturnConsumedCapacity = ReturnConsumedCapacity.TOTAL): Pair<I?, ConsumedCapacity?>

open fun load(key: K): I?