Collection
extension Collection where Element: Publisher
extension Collection where Element == ErxTask.Communication
-
Subscribes to multiple additional publisher and publishes a collection upon receiving output from either publisher.
Use combineLatest() when you want the downstream subscriber to receive a collection of the most-recent element from multiple publishers when any of them emit a value.
Declaration
Swift
public func combineLatest() -> AnyPublisher<[Element.Output], Element.Failure>
-
Returns a result of
[ErxTask.Communication.Unique]that are unique for there properties:profile,payload,insuranceId,telematikIdandorderIdThe element is also unique if theorderIdisnil. DuplicatedtaskIdfromErxTask.Communicationwith the sameErxTask.Communication.UniqueKeyare stored withinErxTask.Communication.Unique.taskIdsDeclaration
Swift
public func filterUnique() -> [ErxTask.Communication.Unique]Return Value
[ErxTask.Communication.Unique]that are unique in there filtered properties
View on GitHub
Collection Extension Reference