Skip to main content

Module batch

Module batch 

Source
Expand description

Batch Accumulator for Peat-Lite Sync

Collects CRDT operations over a configurable time window or size limit, then emits them as a batch for efficient BLE transmission.

This reduces radio activity and power consumption on constrained devices.

Structsยง

BatchAccumulator
Accumulates CRDT operations for batched transmission
BatchConfig
Configuration for batch accumulation
OperationBatch
Batch of operations ready to send