Closed feross closed 4 years ago
I wonder if the original intention was to recommend the async package and it was updated to the async language feature by mistake.
I would feel better if it said something like:
Rather than tracking callbacks manually, you may find it more convenient to rely on an npm package such as
async
orrun-parallel
. But, for this exercise, do it without any extra packages.
I do prefer your callback management packages, but async
is still very popular :)
Yeah, this came in through this PR (https://github.com/workshopper/learnyounode/pull/684). I'll update it so it recommends async
as well.
@Flet – it's updated
Released as 4.0.3.
We're not recommending promise versions of node core modules in these exercies yet, so telling newbies to go read about async functions seems like a red herring. I'd rather they use something simple like
run-parallel
which operates on callbacks for now.cc @ccarruitero