Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
core/com.tealium.prism.core.api.network/RetryPolicy/AfterEvent

AfterEvent

class AfterEvent(val event: Observable<*>) : RetryPolicy

AfterEvent retries the request when the given event emits.

The event is subscribed to when the retry is decided, and the request is retried on its first emission; the emitted value is ignored. A source that replays a current value on subscription, such as an ObservableState, retries at once unless filtered.

An event that completes without emitting, or never emits, leaves the request pending until it is disposed.

Parameters

event

The Observable whose first emission triggers the retry.

Constructors

AfterEvent
Link copied to clipboard
constructor(event: Observable<*>)

Properties

event
Link copied to clipboard
val event: Observable<*>
Generated by Dokka
(c) Tealium 2026