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
Update documentation #27
Comments
Hi, would you please share a little of your experience in regards to JS analogy to JVM Garbage Collection? For example is there a difference between : class OuterFoo {
Observable.interval(500.millis).foreach { tick =>
if (tick % 2 == 0)
println("foo")
else
println("bar")
}
} and : class OuterFoo {
Observable.interval(500.millis).foreach { tick =>
if (tick % 2 == 0)
myElementRef.style.visibility = "visible"
else
myElementRef.style.visibility = "hidden"
}
} I guess the first will be running until the I try to read up a little bit about JS GC, but I'm not feeling any wiser now. There used to be a note in Wiki about this, but I can't find it anywhere. Imho it got lost. |
@l15k4 initiating an interval tick by means of So btw, both examples behave in the same way, there's absolutely no difference. Both will be running until the end of time, starting with a And personally I prefer that, because I wouldn't want the garbage collector to somehow stop the streaming of values that I care about. But please do describe a use-case. |
@alexandru thank you for explanation, I personally prefer that behavior too, I just wasn't sure it really behaves this way. |
We already started the documentation project as part of - https://monix.io |
Monifu needs good documentation and the current documentation is expired. The documentation needs to be updated and touch on the following subjects:
This is an epic task that needs to be ready for 1.0.
Prior tickets on this issue:
The text was updated successfully, but these errors were encountered: