Type Aliasswift 6.0.3_Concurrency
Element
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
typealias Element = ElementOfResult
typealias Element = ElementOfResult
s12_Concurrency31AsyncThrowingCompactMapSequenceV8IteratorV7Elementa
What are these?2T93G
import _Concurrency
struct Iterator
The iterator that produces elements of the compact map sequence.
struct AsyncThrowingCompactMapSequence<Base, ElementOfResult> where Base : AsyncSequence
An asynchronous sequence that maps an error-throwing closure over the base sequence’s elements, omitting results that don’t return a value.
mutating func next() async throws -> ElementOfResult?
Produces the next element in the compact map sequence.
mutating func next(isolation actor: isolated (any Actor)?) async throws -> ElementOfResult?
Produces the next element in the compact map sequence.