scala - What is a good way to implement a "delayed" list stream in Scalaz -


i tried doing this, did not work:

process("hello", "salut", "bye", "ciao").interleave(time.sleep(0.5.seconds).repeat) 

(process("hello", "salut", "bye", "ciao") zip (time.awakeevery(0.5 s)) .map(_._1)


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -