The latest iteration of this proposal clarified the semantics of the behavior when the iterator returned nil or threw` to this:
As with Sequence, once an iterator returns an empty Span, every subsequent call to nextSpan() must return an empty Span as well. An iterator's behavior after throwing an error is undefined: some iterators may treat that as the end of the sequence, some may continue to throw the same error or a different error, and some may resume iteration on the next call. Generic code should therefore not assume any particular behavior, with a recommendation that the error be propagated to the caller.
Why are we leaving these so vague? In particular, why are we not being more prescriptive that we expect an iterator that returned nil or threw to continue to return nil? Clear semantics and expectation will allow both conformers and authors of generic code to have clear guidelines and expectations.
I think this still remains unaddressed in the proposal.
I would love to see some discussion around this. We merged the support for final elements into the recent prototypes of the new async streaming APIs. There are many different file formats and protocols that have the notion of a final element and having support for expressing this when iterating turned out to be very useful for us so far.