4

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

  • The tcp version treats the Connection as Process[Task, A]
  • The nio version treats the Connection as Process[Task, Exchange[I, W]]

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

Chris Martin
  • 30,334
  • 10
  • 78
  • 137
jilen
  • 5,633
  • 3
  • 35
  • 84

1 Answers1

1

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.

Chris Martin
  • 30,334
  • 10
  • 78
  • 137
Pavel Chlupacek
  • 864
  • 5
  • 8