Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RxScala: Subscription add with block expression #1258

Closed
headinthebox opened this issue May 24, 2014 · 2 comments
Closed

RxScala: Subscription add with block expression #1258

headinthebox opened this issue May 24, 2014 · 2 comments
Milestone

Comments

@headinthebox
Copy link
Contributor

final def add(s: Subscription): Unit = {
    asJavaSubscriber.add(s.asJavaSubscription)
  }

add

final def add(s: =>Unit): Unit = ...

So you can write s.add{ blah; blah }

@headinthebox headinthebox added this to the 0.19 milestone May 24, 2014
@jbripley
Copy link
Contributor

I'll take a stab at this issue.

@headinthebox
Copy link
Contributor Author

cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants