Skip to content

rs_rich.ext.countdown

Generated from the type stubs by scripts/gen_python_api.py; do not edit.

rs_rich.ext.countdown: retry backoff, retry and rate-limit status, countdown bars and waits (rich_ext::countdown).

No Rich counterpart: this is the port's own rs-rich-ext crate.

wait module-attribute

wait = countdown_wait

Backoff

max_attempts property

max_attempts: Any

delay

delay(attempt: Any) -> Any

delays

delays(limit: Any = ...) -> Any

status

status(attempt: Any, reason: Any) -> Any

CountdownBar

RetryStatus

giving_up property

giving_up: Any

status property

status: Any

at

at(seconds: Any) -> Any

RateLimit

at

at(seconds: Any) -> Any

remaining_label

remaining_label(seconds: Any) -> Any

countdown_wait

countdown_wait(total: Any, *, tick: Any = ..., cancel: Any = ..., on_tick: Any = ..., sleep: Any = ...) -> Any