Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.network/CooldownHelper/Companion/create

create

@JvmStatic
fun create(maxInterval: TimeFrame, errorBaseInterval: TimeFrame?): CooldownHelper?

Creates a new CooldownHelper from the given intervals

Parameters

maxInterval

The maximum amount of time for a cooldown to last.

errorBaseInterval

The base interval to extend the cooldown period by on each consecutive failure. Note - not providing this parameter will always return null from this method.

Generated by Dokka
(c) Tealium 2026