In the previous blog you learnt about Monix Task. Now lets dive into Monix Scheduler. Akka’s Scheduler that includes pretty heavy dependency whereas Monix Scheduler that provides a common API which is resuable.
For Monix Scheduler to work first we need to include the dependency which is:-
libraryDependencies += "io.monix" % "monix-execution_2.11" % "2.0-RC10"
Make sure that your Scala version is same as Monix version in your dependency. The Monix Scheduler can be a replacement for Scala’s ExecutionContext as:-
View original post 72 more words