44 template <
typename Transformer>
45 auto farm(
int ntasks, Transformer && transform_op)
48 std::forward<Transformer>(transform_op)};
Definition: callable_traits.h:26
auto farm(int ntasks, Transformer &&transform_op)
Invoke Farm pattern on a data stream that can be composed in other streaming patterns.
Definition: farm.h:45
Representation of farm pattern. Represents a farm of n replicas from a transformer.
Definition: farm_pattern.h:33