I've got two streams and I want to be able to consume only one based on a computation that I run every x
seconds.
I think I basically need to create a third tick
stream - something like every(3.seconds)
- that does the computation and then come up with sort of a switch between the other two.
I'm kind of stuck here (and I've only just started fooling around with scalaz-stream).
Thanks!