SwiftfuncTeaFoundationTeaFoundation.Promise

flatMap

TeaFoundation.Promise<A where A: Sequence>.flatMap<A where A1: Sequence>(on: OS_dispatch_queue, closure: (A.Element) throws -> A1) -> TeaFoundation.Promise<[A1.Element]>

Structure

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

generic{}

AA1

req{}

param{}

  1. 0on:
  2. 1closure:
    function(A.Element) throws -> A1escapingthrows
    • paramassociatedTypeElement
      • basegenericParameterA
    • returnsgenericParameterA1

result{}

  • argstructSwift.Array
    • argassociatedTypeElement
      • basegenericParameterA1