Cancel .save() call

Is it possible to cancel already called .save() ?

score.save { result in
    switch result {
    case .success(let savedScore):
        ...
    case .failure(let error):
        ...
    }
}

While playing with bad connectivity conditions I noticed that it might happens that the second save call is getting called before the first when these .save() calls happen during a connection blackout.

I am thinking about putting them into a DispatchGroup and wait until first finishes (even fails) and let the second be called after. But I was thinking that if I could somehow catch and cancel the previous calls I could save some network traffic by sending only the last .save()

As long as I know there is no such option. You can set how many times the SDK will retry the save operation though.