2
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,492
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
javascript × 84support × 30
app × 19
script × 19
api × 10
library × 9
api-v2.2 × 8
oauth2 × 7
bug × 6
obsolete × 6
greasemonkey × 6
jquery × 6
discussion × 5
status-completed × 4
api-v2 × 4
authentication × 4
chat × 4
soapi.js × 4
feature-request × 3
website × 3
scripts × 3
node.js × 3
questions × 2
tags × 2
comments × 2