19606, "vasslitvinov", "Random skipToNth, getNth - needed? good names?", "2022-04-05T20:11:33Z"
skipToNth(n) advances or rewinds the stream to the n-th position;
getNth(n) combines that atomically with getting the next element.
- pro: provides an atomic combination
- con: we want to steer users away from using this often, as it is much slower than
skipToNth - rename to one of:
advance? cons: it can also rewind
getNth - rename to:
fetchAdvance- emphasizes atomicity; should it be 'advanceFetch' ?