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{}
- conformance:genericParameter
A1protocolSwift.Sequence
param{}
- 0on:classOS_dispatch_queue
- 1closure:function
(A.Element) throws -> A1escapingthrows- paramassociatedType
Element- basegenericParameter
A
- returnsgenericParameter
A1
result{}
- argassociatedType
Element- basegenericParameter
A1