Produces a Gather object which will be used at runtime to manufacture a Task of type B which can gather things of type A.
Produces a new Scatter from the existing scatter.
Produces a new Scatter from the existing scatter. Takes a function that maps an individual object of type A to a Task of type B. During scatter/gather operation this function will be invoked with each A, to manufacture tasks of type B.
The resulting Scatter[B] can be further mapped or gathered (or both!).
One of the two main types that implement Scatter/Gather, Scatter provides methods for mapping the currently scattered type to a new type by running a task in parallel on each of the scattered parts.