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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -