Skip to content

//tempest2/app.cash.tempest2/AsyncView/load

load

[jvm]\ open suspend 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]\ open suspend fun load(key: K, consistentReads: Boolean = false, returnConsumedCapacity: ReturnConsumedCapacity = ReturnConsumedCapacity.TOTAL): Pair<I?, ConsumedCapacity?>