[stdlib] Gardening BackDeployConcurrency files

This commit is contained in:
Jager-yoo
2022-12-10 23:55:53 +09:00
parent 08dab020be
commit c96178ea6b
19 changed files with 104 additions and 105 deletions

View File

@@ -30,15 +30,15 @@ extension AsyncSequence {
/// returns `nil` in this case, which `compactMap(_:)` omits from the
/// transformed asynchronous sequence.
///
/// let romanNumeralDict: [Int : String] =
/// let romanNumeralDict: [Int: String] =
/// [1: "I", 2: "II", 3: "III", 5: "V"]
///
/// let stream = Counter(howHigh: 5)
/// .compactMap { romanNumeralDict[$0] }
/// for await numeral in stream {
/// print("\(numeral) ", terminator: " ")
/// print(numeral, terminator: " ")
/// }
/// // Prints: I II III V
/// // Prints "I II III V "
///
/// - Parameter transform: A mapping closure. `transform` accepts an element
/// of this sequence as its parameter and returns a transformed value of the