7 ms·
Why is the method called sendOnce? It’s send with a capacity limiter / semaphore right, so what about it is Once?
by nmca 1y ago
Why is the method called sendOnce? It’s send with a capacity limiter / semaphore right, so what about it is Once?
- saagarjha 1y agoI think it really ought to be called "sendOneAtATime" but I assume the author just picked a bad name for it.
- mgradowski 1y agoI'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.