TimeoutStrategy

sealed interface TimeoutStrategy : Serializable

Strategy for handling timeout when the constraints for installation were not satisfied.

Inheritors

Types

Link copied to clipboard

Tells installer to commit session immediately after timeout even if constraints are not met.

Link copied to clipboard

Tells installer to report failure on timeout if constraints are not met.

Link copied to clipboard
data class Retry(val retries: Int) : InstallConstraints.TimeoutStrategy

Tells installer to retry waiting for constraints to be satisfied with the same timeout for retries times if constraints were not met after the first attempt.