andretietz / retroauth

A library build on top of retrofit, for simple handling of authenticated requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check if the subscriber unsubscribed before executing a request

andretietz opened this issue · comments

Usually, when you call the request method itself in the code, the request will be executed immediately. But in case of a request is waiting for anotherone (regarding to the RequestStrategy) it could happen, that a request is not supposed to be executed anymore. right now it would be executed anyway (this could happen only if a login, which might appear, was not canceled).

done.

When a request was waiting (locking strategy) and gets time to be executed, then it'll check if the subscriber is still subscribing