QueueOptions

data class QueueOptions<T>(val queueWriteLayer: QueueWriteLayer<T>, val retryPolicy: RetryPolicy<Throwable>? = defaultRetryPolicy) : RetryOptions

Constructors

Link copied to clipboard
fun <T> QueueOptions(queueWriteLayer: QueueWriteLayer<T>, retryPolicy: RetryPolicy<Throwable>? = defaultRetryPolicy)

Functions

Link copied to clipboard
open suspend fun <T> retryIfEnabled(block: suspend () -> T): T

Properties

Link copied to clipboard
val queueWriteLayer: QueueWriteLayer<T>
Link copied to clipboard
open override val retryPolicy: RetryPolicy<Throwable>?