setData

abstract suspend fun setData(key: K, data: T)

Replace current data with new data for a given key.

Note: It doesn't change data freshness. If previous data is missing a new data will be stale.