Monix Task - flatMap(Oslo) 2016
Monix Task: Lazy, Async & Awesome - my presentation from flatMap(Oslo) 2016:
- Akka & Monix, Typelevel Summit, Oslo, 2016
- Monix project
Scala’s Future from the standard library is great, but sometimes we need more.
A Future strives to be a value, one detached from time and for this reason its capabilities are restricted and for some use-cases its behavior ends up being unintuitive. Hence, while the Future/Promise pattern is great for representing asynchronous results of processes that may or may not be started yet, it cannot be used as a specification for an asynchronous computation.
In this talk I’ll show you its design, when you should use it and why in dealing with asynchronicity it’s better to work with Task instead of blocking threads.