buildSegmentInBackground function

Future<Uint8List> buildSegmentInBackground(
  1. Uint8List batch,
  2. int blockTargetSize
)

Web fallback: no isolates, so the segment is built inline.

Implementation

Future<Uint8List> buildSegmentInBackground(
  Uint8List batch,
  int blockTargetSize,
) async => buildSegmentFromBatch(batch, blockTargetSize);