Lifi Poll Status Options
data class LifiPollStatusOptions(val everyMs: Long, val initialDelayMs: Long = 0, val timeoutMs: Long, val maxConsecutiveErrors: Int = 5)
Options controlling the LiFi status polling behavior.
Properties
Link copied to clipboard
An initial delay before the first poll, in milliseconds (default: 0).
Link copied to clipboard
The maximum number of consecutive transient errors tolerated before polling fails fast (default: 5). This prevents a persistent hard error (e.g. auth failure, malformed request) from being retried silently until the overall timeout elapses.