Skip to content

RateLimiterOptions

Defined in: packages/core/src/rate-limiter.ts:1

capacity: number

Defined in: packages/core/src/rate-limiter.ts:3

Maximum number of tokens the bucket holds. Each acquire() consumes 1.


intervalMs: number

Defined in: packages/core/src/rate-limiter.ts:5

Time window in milliseconds over which capacity tokens are refilled.

Unofficial. Lonca is an independent, community-maintained project — not affiliated with, endorsed by, or supported by Trendyol, Hepsiburada, or any other marketplace. All marketplace names and trademarks belong to their respective owners.