Skip to main content

BatchCommitFunc

Type Alias BatchCommitFunc 

Source
pub type BatchCommitFunc = Box<dyn FnOnce(Vec<MessageDisposition>) -> BoxFuture<'static, Result<()>> + Send + 'static>;
Expand description

A closure for committing a batch of messages.

Aliased Typeยง

pub struct BatchCommitFunc(/* private fields */);