Contents

nextPartialResult

An error-throwing closure that takes the previously-accumulated value and the next element from the upstream to produce a new value.

Declaration

let nextPartialResult: (Output, Upstream.Output) throws -> Output

Discussion

If this closure throws an error, the publisher fails and passes the error to its subscriber.

See Also

Inspecting publisher properties