Skip to main content

simple_processor

Function simple_processor 

Source
pub fn simple_processor(
    max_concurrent_updates: usize,
) -> Result<BaseUpdateProcessor, UpdateProcessorError>
Expand description

Convenience constructor that builds a BaseUpdateProcessor wrapping a SimpleUpdateProcessor with the given concurrency limit.

ยงErrors

Returns UpdateProcessorError::InvalidConcurrency if max_concurrent_updates is zero.