operator
fun <T, V : ApiResponseOperator<T>> ApiResponse<T>.operator(apiResponseOperator: V): ApiResponse<T>
Content copied to clipboard
Author
skydoves (Jaewoong Eum)
Operates on an ApiResponse and return an ApiResponse. This allows you to handle success and error response instead of the ApiResponse.onSuccess, ApiResponse.onError, ApiResponse.onException transformers.