skip(n) discards the first n elements and passes the rest downstream. limit(n) truncates the stream to at most n elements. Together they implement pagination, batching, and safe consumption of infinite streams.
limit — truncate the stream
skip(n) discards the first n elements and passes the rest downstream. limit(n) truncates the stream to at most n elements. Together they implement pagination, batching, and safe consumption of infinite streams.