AsyncThrowingPrefixWhileSequence

An asynchronous sequence, containing the initial, consecutive elements of the base sequence that satisfy the given error-throwing predicate.

iOS
13.0+
macOS
10.15+
tvOS
13.0+
watchOS
6.0+
struct AsyncThrowingPrefixWhileSequence<Base> where Base : AsyncSequence