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

Dynamic merge of streams? #2

Closed
doofin opened this issue Jun 11, 2018 · 1 comment
Closed

Dynamic merge of streams? #2

doofin opened this issue Jun 11, 2018 · 1 comment
Labels
question Further information is requested

Comments

@doofin
Copy link
Sponsor

doofin commented Jun 11, 2018

Is it possible to achieve sth like that? (Sorry if I missed some part of readme)

val globalStream=???

def newLocal()={
val s1 = ???
globalStream add s1
}

and globalStream would merge all streams inside newLocal() whenever this method is called.

@raquo
Copy link
Owner

raquo commented Jun 12, 2018

If I understand correctly, what you want is EventBus and its addSource method.

@raquo raquo added the question Further information is requested label Jun 12, 2018
@raquo raquo closed this as completed Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants