SingleAPIResult

public enum SingleAPIResult<T, P>

Result type of a singular return type from an API that can return a partial result.

  • Result is a success and returns the fully expected type.

    Declaration

    Swift

    case success(T)
  • Result is partial and returns the partial values of the expected type.

    Declaration

    Swift

    case partial(PartialResult<P>)