ChangeBufferFlushCallback

Type Alias ChangeBufferFlushCallback 

Source
pub type ChangeBufferFlushCallback<T> = Box<dyn Fn(BTreeMap<String, T>, BTreeSet<String>) -> Pin<Box<dyn Future<Output = Result<()>>>>>;
Expand description

The form a callback that can be passed when flushing a ChangeBuffer; note that it is generic for the argument that is passed to the callback.

Aliased Typeยง

pub struct ChangeBufferFlushCallback<T>(/* private fields */);