fold

inline fun <T, R> SpotifyResult<T>.fold(onSuccess: (T) -> R, onFailure: (SpotifyFailure) -> R): R