3
votes
How can I implement a method to call the SE API that handles backoff correctly?
I think a simple singleton that keeps track of the backoff should be enough.
I assume you do use the fetch API or any other async capable module. But the approach is also feasible with just Promises ...
rene♦
- 2,537
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
api-v2.3 × 16support × 6
bug × 5
api × 5
search × 4
feature-request × 3
users × 3
app × 2
tags × 2
reputation × 2
stack-overflow-for-teams × 2
status-completed × 1
api-v2.2 × 1
documentation × 1
placeholder × 1
javascript × 1
meta × 1
badges × 1
inbox × 1
chatbot × 1
node.js × 1
status-planned × 1