Instance Method (Default implementation)swift 6.0.3_Concurrency

next(isolation:)

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

iOS
18.0+
macOS
15.0+
tvOS
18.0+
visionOS
2.0+
watchOS
11.0+
mutating func next(isolation actor: isolated (any Actor)?) async throws(Self.Failure) -> Self.Element?