InMemoryLogListCache

A simple in-memory implementation of LogListCache. Holds at most one cached log list in memory. Not persistent across app restarts.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun get(): CachedLogList?

Get the cached log list, or null if not cached.

Link copied to clipboard
open suspend override fun put(logList: CachedLogList)

Store a log list in the cache.