Documentation / @agentick/connector / RateLimiter
Class: RateLimiter
Defined in: connector/src/delivery-buffer.ts:107
Sliding-window rate limiter for inbound messages. Tracks per-minute and per-day counts.
Constructors
Constructor
new RateLimiter(
config):RateLimiter
Defined in: connector/src/delivery-buffer.ts:115
Parameters
config
Returns
RateLimiter
Methods
check()
check(): {
allowed:true; } | {allowed:false;reply?:string; }
Defined in: connector/src/delivery-buffer.ts:126
Check if a message should be allowed through. Returns { allowed: true } or { allowed: false, reply?: string }.
Returns
{ allowed: true; } | { allowed: false; reply?: string; }