My use case is to be able to read from the
stdin as a stream as I type. This streamis then combined in real-time with another stream which emits events at a predifined time interval. The desired result is the combined stream with the combined data. What is the best approach for this? I need to be cross-platform so that I can run this mainly in MacOS, Linux or Windows. I also desire executor independance (async-std vs tokio) if possible.
This is for a console application. So I've been checking out crossterm and tui-rs.
I've also checked https://github.com/Pauan/rust-signals which seems promising, but I am unsure due to my inexperience with Rust if an external crate is necessary for my needs.
What's the recommended solution for that?