miniproto.invoke.MethodFloodWaitCache.get
miniproto.invoke.MethodFloodWaitCache.get
Section titled “miniproto.invoke.MethodFloodWaitCache.get”get(request: object) -> FloodWait | NoneReturn a reconstructed remaining flood wait for request, if any.
The selected entry is removed lazily when this lookup observes its expiration. A returned wait uses the current request as context while preserving the original error type and metadata.
Parameters:
- request (
object) – Request whose innermost method selects a cached flood wait.