Skip to main content

CheckpointCallback

Type Alias CheckpointCallback 

Source
pub type CheckpointCallback = Box<dyn Fn(&[Value], &str) -> Pin<Box<dyn Future<Output = Result<(), OpenPxError>> + Send>> + Sync + Send>;
Expand description

Callback type for checkpoint operations. Receives the batch of markets and the current cursor value.

Aliased Type§

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