Experiment with real concurrency in IO, ZIO, Stream
tonivade opened this issue · comments
Now IO, Stream, and ZIO are developed without thinking about concurrency, but I think that is time to start to work on it.
For example, IO has a method called toFuture() that transform the IO to a Future, but acts only in one level, if IO is a program of some linked IO's using flatMap, only the whole program is executed in another thread. The idea is that we can launch each step of the chain in different threads.