append method

Future<void> append(
  1. List<DataStreamBatch> batch, {
  2. bool compress = true,
})

Append a batch of data measures to this data stream. If compress is true, the data is compressed before upload.

Implementation

Future<void> append(
  List<DataStreamBatch> batch, {
  bool compress = true,
}) async =>
    await service.appendToDataStreams(
      studyDeploymentId,
      batch,
      compress: compress,
    );