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

zip/zipWith support #46

Open
mkotsbak opened this issue Oct 12, 2015 · 3 comments
Open

zip/zipWith support #46

mkotsbak opened this issue Oct 12, 2015 · 3 comments

Comments

@mkotsbak
Copy link

Usage:

val va = Var(0)
val vb = Var(0)
val vc = Var(0)
val zipped: Rx[(Int, Int, Int)] = va.zip(vb, vc)

zipped would change for a change in all inputs. See similar in MetaRx: https://github.com/MetaStack-pl/MetaRx/blob/d35ee24afaaa49ee044a1d991d2c096c7acbffed/shared/src/main/scala/pl/metastack/metarx/Channel.scala#L134

This was referenced Oct 12, 2015
@mkotsbak
Copy link
Author

@mkotsbak mkotsbak changed the title zip() support zip/zipWith support Oct 12, 2015
@lihaoyi
Copy link
Owner

lihaoyi commented Dec 1, 2016

I've bumped into this and want it too

@fdietze
Copy link
Collaborator

fdietze commented Mar 27, 2017

I'm doing this with Rx:

val va = Var(0)
val vb = Var(0)
val vc = Var(0)
val zipped = Rx{
va(); vb(); vc()
// more code
}

Am I overlooking anything?

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

No branches or pull requests

3 participants