Package-level declarations

Types

Link copied to clipboard

Marks declarations that are internal in SDK API, which means that should not be used outside of com.pexip.sdk, because their signatures and semantics will change between future releases without any warnings and without providing any migration aids.

Functions

Link copied to clipboard
inline suspend fun <T> retry(times: Int = 5, initialDelay: Duration = 100.milliseconds, maxDelay: Duration = 1.seconds, factor: Double = 2.0, block: () -> T): T

A utility function that retries a given block if it encounters an IOException.

Inherited functions

Link copied to clipboard

Awaits until this MutableSharedFlow has at least threshold subscribes.

Link copied to clipboard

Sharing is started when the first subscriber appears after a given timeout has passed since the most recent subscription and stops if there are no subscribers.