I want to use channels for Xvc pipelines. A thread will be created for each step and will get dependency state changes via channels.
Note that the number of dependencies is arbitrary. There may be thousands of dependencies, e.g., files for a step and creating these channels beforehand is not feasible.
Crossbeam library has Select that allows to wait for arbitrary number of channels. Now, I need to figure out how to structure the threads and update their states. A minor task 😆