libraryDependencies += "com.marekkadek" %%% "rxscala-js-cats" % "0.4.0"
It doesn't come bundled with the underlying rx.js
file, so you'll need to either add them manually or specify them as jsDependencies
:
jsDependencies += "org.webjars.npm" % "rxjs" % "5.0.1" / "bundles/Rx.min.js" commonJSName "Rx"
import cats.implicits._
import rxscalajs.instances._
def foo[F[_]: Applicative](f: F[_]) = ???
...
foo(Observable.just(1,2,3))
It uses scalajs rx facade