SharedStateOptions
class SharedStateOptions @InternalWowApi constructor(val capacity: Int = DEFAULT_CAPACITY, val maxAge: Duration = DEFAULT_MAX_AGE, val maxBytes: Long = DEFAULT_MAX_BYTES)
The bounds of a context's SharedStates: at most capacity views, holding at most maxBytes of serialized state (a few aggregates with states of hundreds of kilobytes would otherwise take gigabytes within the count), none older than maxAge. The host configures them (wow.shared-states.*).
Fields may be added: Wow builds it from the host's configuration, so the constructor is internal to Wow.