Hacker News new | ask | show | jobs
by nmca 341 days ago
Why is the method called sendOnce? It’s send with a capacity limiter / semaphore right, so what about it is Once?
2 comments

I think it really ought to be called "sendOneAtATime" but I assume the author just picked a bad name for it.
I'm really confused because I had to scroll half the comment section for the word `semaphore`.

This seems to be an interview question about JS esoterica, not concurrent programming.