next(isolation:)

Default implementation of next(isolation:) in terms of next(), which is required to maintain backward compatibility with existing async iterators.

Declaration

mutating func next(isolation actor: isolated (any Actor)?) async throws(Self.Failure) -> Self.Element?