RateLimitController class

Controller responsible for managing rate limiters for different event types

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Dispose all rate limiters and clean up resources
getRateLimiterStatus() Map<String, Map<String, dynamic>>
Get rate limiter status for debugging purposes
initialize(dynamic eventProcessor(ObslyEvent)) → void
Initialize the rate limit controller with the original event processing function
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processEvent(ObslyEvent event) Future<void>
Process an event through the appropriate rate limiter based on event type
toString() String
A string representation of this object.
inherited
updateRateLimiters() → void
Update rate limiters with custom configurations from ConfigController

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance RateLimitController
no setter