SwiftfuncHomeDataModelSwift.Collection

concurrentCompactMap

Collection< where A: Sendable, A.Element: Sendable>.concurrentCompactMap<A where A1: Sendable>(maxConcurrency: Int, _: @Sendable (A.Element) async -> A1?) async -> [A1]

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

AA1

req{}

param{}

  1. 0maxConcurrency:
    structSwift.Int
  2. 1_
    function@Sendable (A.Element) async -> A1?sendableescapingasync
    • paramassociatedTypeElement
      • basegenericParameterA
    • returnsenumSwift.Optional
      • arggenericParameterA1

result{}

  • arggenericParameterA1