If mapFunc reads state it also writes, you should be thinking about async. If it doesn't, the problem isn't all that interesting. Though I did admit in the parent comment that Go's approach is reasonable.
It should be noted that similar code is possible in JS with WebWorkers. Async/Await is more for same-thread concurrency.
It should be noted that similar code is possible in JS with WebWorkers. Async/Await is more for same-thread concurrency.