SwiftfuncTeaFoundationTeaFoundation.Promise

reduce

TeaFoundation.Promise<A where A: Sequence>.reduce<A>(_: A1, on: OS_dispatch_queue, nextPartialResult: (A1, A.Element) throws -> A1) -> TeaFoundation.Promise<A1>

Structure

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

generic{}

AA1

param{}

  1. 0_
    genericParameterA1
  2. 1on:
  3. 2nextPartialResult:
    function(A1, A.Element) throws -> A1escapingthrows
    • paramgenericParameterA1
    • paramassociatedTypeElement
      • basegenericParameterA
    • returnsgenericParameterA1

result{}

  • arggenericParameterA1