pushChunkSync method

int pushChunkSync(
  1. List<List> samples, {
  2. double? timestamp,
  3. List<double>? timestamps,
  4. bool? pushthrough,
})

Synchronously pushes a chunk of samples to the outlet.

Direct mode only - throws LSLException if useIsolates: true. See pushChunk for parameter semantics.

Implementation

int pushChunkSync(
  List<List<dynamic>> samples, {
  double? timestamp,
  List<double>? timestamps,
  bool? pushthrough,
}) => requireDirect(
  () => _pushChunkDirect(samples, timestamp, timestamps, pushthrough),
);