Expand description
Base update processor abstraction. Semaphore-based concurrent update processing.
Ported from python-telegram-bot/src/telegram/ext/_baseupdateprocessor.py.
Provides [BaseUpdateProcessor] (the async trait) and [SimpleUpdateProcessor] (the default
implementation that immediately awaits each coroutine under a semaphore).
Structs§
- Base
Update Processor - Wraps any
UpdateProcessorwith a semaphore to bound concurrency. - Simple
Update Processor - Default
UpdateProcessorthat immediately awaits the coroutine.
Enums§
- Update
Processor Error - Errors that may occur during update processing.
Traits§
- Update
Processor - An abstract base for update processors.
Functions§
- simple_
processor - Convenience constructor that builds a
BaseUpdateProcessorwrapping aSimpleUpdateProcessorwith the given concurrency limit.