Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Go Replaces Interface{} with 'Any'. Parent comment
What's the vanilla way in ts/js to do the equivalent of this golang code where getChoice makes an HTTP call and can't make more than 5 per second?
for _, v := range choices { getChoice(v) time.Sleep(200) }
There are no comments on this comment yet.
What's the vanilla way in ts/js to do the equivalent of this golang code where getChoice makes an HTTP call and can't make more than 5 per second?
Also, why doesn't Deno.sleepSync work as I expect here?