In Python, generators have a send
method which can be used to send a value to a generator. Can I emulate the same thing with channels? Are there any downsides to using channels if I not using it for communication between threads?
In Python, generators have a send
method which can be used to send a value to a generator. Can I emulate the same thing with channels? Are there any downsides to using channels if I not using it for communication between threads?