For whatever reason, a lot of blog posts I’ve seen put timeouts on Futures, and it took me some time to find the “infinite” one.
If you want to do this, here is what you need:
import scala.concurrent.duration.Duration
val tasks = for (thread
For whatever reason, a lot of blog posts I’ve seen put timeouts on Futures, and it took me some time to find the “infinite” one.
If you want to do this, here is what you need:
import scala.concurrent.duration.Duration
val tasks = for (thread