Skip to content
masterclass Buddy

Upstash · Method

ratelimit.blockUntilReady

Waits for an identifier to pass the configured rate limit, up to a given timeout. It returns the same response type as limit.

Last updated

Syntax

blockUntilReady(identifier: string, timeout: number): Promise<RatelimitResponse>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Ratelimit
  • limit
  • RatelimitResponse
  • slidingWindow

Source: Methods - Upstash Documentation. Checked 2026-11-03.