Beginning RxKotlin · Subscribing to Observables, Part 2 | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/7419-beginning-rxkotlin/lessons/6

What does create@ do?

hi @boguser, thanks for the question!

create@ is a “Return at label”. We use it to return only from the lambda. You can find out more in the official docs:

https://kotlinlang.org/docs/reference/returns.html

1 Like

Is it possible to achieve the same result using Java.

@macsimus Can you please help with this when you get a chance? Thank you - much appreciated! :]