Hacker News new | ask | show | jobs
by Sheeny96 771 days ago
Mutexes are for thread safety, channels are for communicating between threads and waitgroups is an alternative to Promise.allSettled (in JS anyway, not enough experience with C# or other await impls), except you don't need to load up the promises first and then fire them. Wat.