initialize method

void initialize(
  1. dynamic eventProcessor(
    1. ObslyEvent
    )
)

Initialize the rate limit controller with the original event processing function

Implementation

void initialize(Function(ObslyEvent) eventProcessor) {
  _originalEventProcessor = eventProcessor;
  _initializeRateLimiters();
  ObslyLogger.debug('RateLimitController initialized');
}