davidmoten / rxjava-extras

Utilities for use with rxjava
Apache License 2.0
269 stars 27 forks source link

rxkotlin-extras #10

Closed thomasnield closed 8 years ago

thomasnield commented 8 years ago

Hi David,

I am thinking of creating an rxkotlin-extras project that will express rxjava-extras as Kotlin extension functions for the Observable<T>. That way lift() and compose() do not have to be called in Kotlin code.

val source = Observable.create("Alpha","Beta","Gamma")
source.doOnFirst { println("First element is $it") }.subscribe { println(it) }

I wanted your blessing before I embarked on this possibly, or give you first chance to do it if you'd like to own it.

davidmoten commented 8 years ago

Hi Thomas, thanks for asking, sounds good, go for it!

On Mon, 16 May 2016 00:04 Thomas Nield notifications@github.com wrote:

Hi David,

I am thinking of creating an rxkotlin-extras project that will express rxjava-extras as Kotlin extension functions for the Observable. That way lift() and compose() do not have to be called in Kotlin code.

val source = Observable.create("Alpha","Beta","Gamma") source.doOnFirst { println("First element is $it") }.subscribe { println(it) }

I wanted your blessing before I embarked on this possibly, or give you first chance to do it if you'd like to own it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/davidmoten/rxjava-extras/issues/10

thomasnield commented 8 years ago

Awesome thanks! I'll start it this week sometime.

thomasnield commented 8 years ago

FYI, project has been started here. Will probably take a few weeks before a release. https://github.com/thomasnield/rxkotlin-extras