Collection
public extension Collection
public extension Collection where Element: Publisher
-
Returns the element at the specified index if it is within bounds, otherwise nil.
Declaration
Swift
subscript(safe index: Index) -> Element? { get }
-
Convert an array of publishers into a concatenation, so that they will all run sequentually. Code from: https://www.apeth.com/UnderstandingCombine/operators/operatorsJoiners/operatorsappend.html
Declaration
Swift
func concatenatePublishers() -> AnyPublisher<Element.Output, Element.Failure>?