PaywallCacheState

data class PaywallCacheState(val views: Map<String, View> = emptyMap(), val activePaywallVcKey: String? = null)(source)

Source-of-truth state for the paywall view cache.

Mirrors the underlying ViewStorage but is owned by a SequentialActor so mutations are FIFO-serialized and reads via actor.state.value always return a consistent snapshot.

Constructors

Link copied to clipboard
constructor(views: Map<String, View> = emptyMap(), activePaywallVcKey: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun viewAt(key: String): View?