How can I queue up and delay retrofit requests to avoid hitting an api rate limit?
<p>I'm using an api that implements throttling. One of the limits is 1 request/second. ugh.
I have the following scenario which hits the limit right away.</p>

<ul>
<li><p>Check the status of the api with api/status</p></li>
<li><p>if the api is up, get a users subscriptions</p></li>
<li><p>load a page from the list of subscriptions</p></li>
</ul>

<p>Is there anything I can plug into retrofit that can queue each network request to only run at least 1000ms after the last? I am using/learning rxjava, can <code>debounce</code> be of any use here?</p>