PresenterInterface

public protocol PresenterInterface

Undocumented

  • Undocumented

    Declaration

    Swift

    var baseView: Presentable { get set }
  • Undocumented

    Declaration

    Swift

    var tasks: [AnyCancellable] { get set }
  • Undocumented

    Declaration

    Swift

    @discardableResult
    func perform<T>(background: @escaping () -> T, foreground: @escaping (T) -> Void = { _ in }) -> AnyCancellable
  • Undocumented

    Declaration

    Swift

    func perform<T>(background: AnyPublisher<T, Error>, foreground: @escaping (T) -> Void = { _ in }) -> AnyCancellable