ListAPIResult

public enum ListAPIResult<T, P>

Result type of an API that returns multiple records. Supports partial results.

Supplementary

  • Result is successful, returning a list of all results.

    Declaration

    Swift

    case success(ListSuccessResult)
  • Result is partial, returning a list of mixed success and partial results.

    Declaration

    Swift

    case partial(ListPartialResult)