Skip to content

KadekM/rxscala-js-cats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cats instances for Scala.js rx

Build Status Maven Central

Install

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"

Usage

import cats.implicits._
import rxscalajs.instances._

def foo[F[_]: Applicative](f: F[_]) = ???
...
foo(Observable.just(1,2,3))

It uses scalajs rx facade

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages