put

abstract suspend fun put(item: VALUE)

Inserts a new item into the cache. Inserting an entry with an id that is already present will cause the old value to be overwritten.


open suspend fun put(vararg items: VALUE)
open suspend fun put(items: Iterable<VALUE>)
open suspend fun put(items: Flow<VALUE>)

Inserts the new items into the cache. Inserting an entry with an id that is already present will cause the old value to be overwritten.