In some cases it may be useful to send different data to different downstream tasks, for example to implement a filter and send filtered data one way and remaining data another (or to output). Right now this has to be implemented by forking a task and doing complementary filtering in two separate tasks, which has some overhead and is repetitive.
Could be implemented by having a task return like:
In some cases it may be useful to send different data to different downstream tasks, for example to implement a filter and send filtered data one way and remaining data another (or to output). Right now this has to be implemented by forking a task and doing complementary filtering in two separate tasks, which has some overhead and is repetitive.
Could be implemented by having a task return like:
and the edge annotated something like: