Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.network/NetworkUtilities/resourceRefresher

resourceRefresher

fun <T : DataItemConvertible> resourceRefresher(dataStore: DataStore, converter: DataItemConverter<T>, parameters: ResourceRefresher.Parameters): ResourceRefresher<T>

Creates a ResourceRefresher that will regularly fetch updated values from a remote source as specified in the given parameters.

Use the parameters to dictate how often the ResourceRefresher will refresh, and where to fetch updates from.

Parameters

dataStore

The DataStore to store the results in

converter

The DataItemConverter implementation for converting values to/from

parameters

The configuration to control the ResourceRefresher behavior

Generated by Dokka
(c) Tealium 2026