scalascalazscalaz-stream

Why there are two implementation of network io in scalaz-stream?


They are located in scalaz.stream.tcp and scalaz.stream.nio.

Why do these two versions exist? Which situation are they intended for?


Solution

  • There are currently two versions because truly the tcp version is more like the experimental and future API. The one living in nio, has likely more complicated API, but is the one which shall be eventually used for now.