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

RetryAfterEvent

class RetryAfterEvent<T>(val event: Observable<T>) : RetryPolicy

RetryAfterEvent signifies that there is an event that can be used to trigger retrying the network request.

The next emission of the event will trigger the retry of the network request.

Parameters

event

The Observable to subscribe to indicate it is safe to retry

Constructors

RetryAfterEvent
Link copied to clipboard
constructor(event: Observable<T>)

Properties

event
Link copied to clipboard
val event: Observable<T>

Functions

shouldRetry
Link copied to clipboard
open override fun shouldRetry(): Boolean

This method is used to determine whether or not the request should be retried

Generated by Dokka
(c) Tealium 2026