This document is about Task
, an alternative for Scalaz's Task
or Scala's Future
.
Note this is work in progress and this document suffered multiple modifications already:
UPDATE - May 30, 2016 - This document is now obsolete, replaced by the Monix Task documentation:
scalaz.concurrent.Task is not very good. Using just a reasonable IO type, it should be possible to subsume Task's use cases with some uses of MVar-like atomic-references. For example:
scalaz/scalaz@series/7.3.x...puffnfresh:feature/concurrent-io
I highly recommend focusing on doing a good job at I/O and then using that to talk about concurrency, rather than trying to do the opposite.