Skip to content

miniproto.invoke.MethodFloodWaitCache.get

get(request: object) -> FloodWait | None

Return 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.