SegmentBuildFunction typedef

SegmentBuildFunction = Future<Uint8List> Function(Uint8List batch, int blockTargetSize)

Builds a segment from a WalBatch payload.

Implementation

typedef SegmentBuildFunction = Future<Uint8List> Function(
  Uint8List batch,
  int blockTargetSize,
);