We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75dd98d commit 64ab9ddCopy full SHA for 64ab9dd
stdlib/public/Concurrency/AsyncSequence.swift
@@ -236,6 +236,8 @@ extension AsyncSequence {
236
/// The predicate executes each time the asynchronous sequence produces an
237
/// element, until either the predicate returns `false` or the sequence ends.
238
///
239
+ /// If the asynchronous sequence is empty, this method returns `true`.
240
+ ///
241
/// - Parameter predicate: A closure that takes an element of the asynchronous
242
/// sequence as its argument and returns a Boolean value that indicates
243
/// whether the passed element satisfies a condition.
0 commit comments