Skip to content

Commit

Permalink
Cover SAM helpers in README
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasnield authored May 17, 2017
1 parent 81b2754 commit 71bc3a0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,25 @@ fun main(args: Array<String>) {
}
```

## SAM Helpers

To help cope with the [SAM ambiguity issue](https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FKT-13609) when using RxJava 2.x with Kotlin, there are a number of helper factories and extension functions to workaround the affected operators.

```
Observables.zip()
Observables.combineLatest()
Observable#zipWith()
Observable#withLatestFrom()
Flowables.zip()
Flowables.combineLatest()
Flowable#zipWith()
Flowable#withLatestFrom()
Singles.zip()
Single#zipWith()
Maybes.zip()
```


## Support for RxJava 1.x and RxJava 2.x

Use RxKotlin 1.x versions to target RxJava 1.x.
Expand Down

0 comments on commit 71bc3a0

Please sign in to comment.