Is it possible to map over a generator such that elements `yield`ed would be mapped / computed immediately? Is this in the scope of ‘depth first execution’?
c
CJ Wright
12/27/2019, 6:24 PM
Hey Jake, this is a good question. The short answer is we don't support this because tasks must finish and return pickleable results to downstream tasks and generators can't be pickled.
Let me know if that clears things up!