StartableResultProvider

public struct StartableResultProvider<Value, Failure> where Failure : Error
extension StartableResultProvider: StartableCancelable

StartableResultProvider is an operation that can be started with a completion closure and can be cancelled.

  • Declaration

    Swift

    public var isCancelled: Bool { get }
  • Declaration

    Swift

    public func cancel()
  • Undocumented

    Declaration

    Swift

    public func start(completion: @escaping (Result<Value, Failure>) -> Void)