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 filtered result of
[ErxTask.Communication]
that are unique for there properties:profile
,payload
,insuranceId
,telematikId
andorderId
The element is also unique if theorderId
isnil
Declaration
Swift
public func filterUnique() -> [ErxTask.Communication]
Return Value
[ErxTask.Communication]
that are unique in there filtered properties