Interface ISenderRateLimiter
- Namespace
- Signal.Application.Pipeline
- Assembly
- Signal.Application.dll
Decides whether a sender may send another message. Replace it for distributed or custom limits.
public interface ISenderRateLimiter
Methods
TryAcquire(string)
Consumes one permit for the sender.
bool TryAcquire(string senderKey)
Parameters
senderKeystringThe sender identifier (phone number or UUID).