retryActions

inline fun <S : MVIState, I : MVIIntent, A : MVIAction> StoreBuilder<S, I, A>.retryActions(strategy: RetryStrategy = RetryStrategy.Default, name: String? = null, crossinline selector: (action: A, e: Exception) -> Boolean = { _, _ -> true })

Install a retryActionsDecorator over this Store.

  • The entire chain of plugins trying to handle a given action will be retried.

  • This decorator does not handle undelivered actions, for that use StorePlugin.onUndeliveredAction

See also