Asynchronous programming in Scala with Monix

Click for: original source

Lech GÅ‚owiak wrote a short blog post titles Why you should know Monix - a library for asynchronous programming in Scala and Scala.js. He tries in 10 minutes or less, to present what Monix library is and convince you that it is good to know it.

Monix contains several abstractions that are useful and sometimes can be found superior to vanilla Scala or Akka counterparts. Some useful abstraction mentioned and compared to vanilla Scala in post:

  • Task abstraction that can be seen as a replacement for Future
  • MVar inspired by Haskell’s MVar
  • Back-pressured streams

Full code example is available in GitHub repository. Dive in for more info!

[Read More]

Tags functional-programming