putAll

inline suspend fun <T : Any> DataCache.putAll(items: Iterable<T>): Unit?
inline suspend fun <T : Any> DataCache.putAll(vararg items: T): Unit?
inline suspend fun <T : Any> DataCache.putAll(items: Flow<T>): Unit?

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