One Logo Pool Ball
Combine · IOS API REFERENCE

Publishers.Zip4

struct · iOS 13.0+ · SDK 27.1

struct Zip4<A, B, C, D> where A : Publisher, B : Publisher, C : Publisher, D : Publisher, A.Failure == B.Failure, B.Failure == C.Failure, C.Failure == D.Failure

A publisher created by applying the zip function to four upstream publishers. Use a `Publishers.Zip4` to combine the latest elements from four publishers and emit a tuple to the downstream. The returned publisher waits until all four publishers have emitted an event, then delivers the oldest unconsumed event from each publisher as a tuple to the subscriber. If any upstream publisher finishes successfully or fails with an error, so too does the zipped publisher.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

6 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

Publishers.Zip4.a

This declaration needs Swift generic type arguments. (no canonical witness for A)

Publishers.Zip4.b

This declaration needs Swift generic type arguments. (no canonical witness for B)

Publishers.Zip4.c

This declaration needs Swift generic type arguments. (no canonical witness for C)

Publishers.Zip4.d

This declaration needs Swift generic type arguments. (no canonical witness for D)

Publishers.Zip4.init(_:_:_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for A)

Publishers.Zip4.receive(subscriber:)

This declaration needs Swift generic type arguments. (no canonical witness for S)

All Combine types →