Paused
class Paused(val untilEpochMillis: Long, val length: Duration, val source: PauseSource) : BudgetEvent(source)
The budget is paused until untilEpochMillis, length from now, because of the hint source (PauseSource.RetryAfter, PauseSource.ResetIn, PauseSource.Boundary, or PauseSource.Snapshot for a restored pause). Emitted when a pause begins or is extended, never when a hint is shorter than the pause in force.
Stable Core.
Parameters
untilEpochMillis
the epoch millisecond the pause ends.
length
how long the pause lasts from now; not negative.
source
which hint set the pause.
Throws
if length is negative.