Wednesday, 16 September 2020

How to cancel google cloud endpoints request in Android using the generated client library?

In the documentation it shows this example of how to execute a google cloud endpoints api request using the android client lib:

ScoreCollection scores = service.scores().list().execute();

Is there a way to cancel this request? I can't figure out how.

Sometimes I want to cancel long executing requests that I don't need anymore.



from How to cancel google cloud endpoints request in Android using the generated client library?

No comments:

Post a Comment