why is my code not returning anything ? Scala fs2
问题 The program permits pushing Mapping Ints to Double and identifying the exit time from the queue. The program is not showing any error but It is not printing anything. What am I missing ? import cats.effect.{ExitCode, IO, IOApp, Timer} import fs2._ import fs2.concurrent.Queue import scala.concurrent.duration._ import scala.util.Random class Tst(q1: Queue[IO, (Double, IO[Long])])(implicit timer: Timer[IO]) { val streamData = Stream.emit(1) val scheduledStream = Stream.fixedDelay[IO](10.seconds)