startChunkedConversion method

  1. @override
Sink<GpsPoint> startChunkedConversion(
  1. Sink<GpsStay> sink
)
override

Starts a chunked conversion.

The returned sink serves as input for the long-running conversion. The given sink serves as output.

Implementation

@override
Sink<GpsPoint> startChunkedConversion(Sink<GpsStay> sink) {
  return _GpsPointsToStaysSink(sink,
      maxTimeGapSeconds: _maxTimeGapSeconds,
      maxDistanceGapMeters: _maxDistanceGapMeters);
}