Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.pubsub/ReplaySubject/resize

resize

abstract fun resize(size: Int)

Resizes the max cache size to the given size. If the new size is smaller than the current cache size, then old entries will be evicted to make space.

Negative values will be treated as an unbounded replay cache.

Parameters

size

the new max size of the replay cache

Generated by Dokka
(c) Tealium 2026