StateCache

class StateCache<S : Any, V : Any>(key: (S) -> Any = { it }, fetcher: suspend (source: S) -> V)

Constructors

Link copied to clipboard
constructor(key: (S) -> Any = { it }, fetcher: suspend (source: S) -> V)

Functions

Link copied to clipboard
operator fun get(source: S): V?