<!--
{
  "documentType" : "article",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/AsyncThrowingFilterSequence/Iterator/AsyncIteratorProtocol-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "AsyncIteratorProtocol Implementations"
}
-->

# AsyncIteratorProtocol Implementations

## Topics

### Instance Methods

[`func next() async throws(Self.Failure) -> Self.Element?`](/documentation/Swift/AsyncThrowingFilterSequence/Iterator/next()-5cr1d)

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

[`func next(isolation: isolated (any Actor)?) async throws(Self.Failure) -> Self.Element?`](/documentation/Swift/AsyncThrowingFilterSequence/Iterator/next(isolation:)-4w94d)

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)