| 123456789101112131415161718192021222324252627282930 |
- # -*- coding: utf-8 -*-
- """
- Event-Throttling und Debouncing.
- Begrenzt die Rate von Events und gruppiert häufige Events.
- """
- from trixy_core.events.throttling.throttle import (
- EventThrottler,
- ThrottleConfig,
- ThrottleResult,
- ThrottleStrategy,
- )
- from trixy_core.events.throttling.debounce import (
- EventDebouncer,
- DebounceConfig,
- DebouncedEvent,
- )
- __all__ = [
- # Throttling
- "EventThrottler",
- "ThrottleConfig",
- "ThrottleResult",
- "ThrottleStrategy",
- # Debouncing
- "EventDebouncer",
- "DebounceConfig",
- "DebouncedEvent",
- ]
|