taskPool.asyncBuf()
You will be familiarized with the use of taskPool.asyncBuf() function in this lesson.
We'll cover the following...
Use of asyncBuf()
Similar to parallel()
, asyncBuf()
iterates InputRange ranges in parallel. It stores the elements in a buffer as they are produced by the range, and serves the elements from that buffer to its users.
In order to avoid making a potentially fully-lazy input range a fully-eager range, it iterates the elements in waves. Once it prepares ...