I'm new to D3
& JavaScript
.
I'm trying to understand queue.js
in that.
I've gone through this link. But still can't get a clear cut idea about the difference between queue.await()
and queue.awaitAll()
.
Can anyone help me with an example(if possible)?
From the documentation you've linked to:
So the difference is only in how the arguments are passed to the callback. For example
passes two additional arguments to the callback, while
passes an array of results instead.