APIClientPublisher
public struct APIClientPublisher<Response> : Publisher
Undocumented
-
Declaration
Swift
public typealias Output = Response
-
Declaration
Swift
public typealias Failure = Error
-
Make a next request depending on the output of the previous
Declaration
Swift
public func chain<T>(_ pipe: @escaping (Response) -> Endpoint<T>) -> APIClientPublisher<T>
Parameters
pipe
A closure receiving
Endpoint.Result
of the current endpoint and returning a new endpoint from that