update

open suspend fun update(id: Identifier, context: Context, value: Value)(source)

Forces the cache to accept value as a more recent value for the given id and context than whatever it was previously storing.

All layers are updated.


abstract suspend fun update(values: Collection<Triple<Identifier, Context, Value>>)(source)

Forces the cache to accept the given values as more recent for their associated identifier than whatever was previously stored.

All layers are updated.