-
Notifications
You must be signed in to change notification settings - Fork 84
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
HELP: desperately need .off( ) ; // the opposite of .on() #155
Comments
The following should work theStream.end(true); This will push into the end stream and tell the stream to stop. |
That will not work, I do not want the stream to end, there are other 'listeners'. |
i was actually looking for similar functionality to have ad-hoc reactivity (see #142 (comment)) what i ended up doing was to create dependent streams and [1] https://github.com/leeoniya/domvm/blob/2.x-dev/src/view/addons/streamFlyd.js |
Yes. But you can call |
@paldepind How? I'm new to streams. |
I think I got it: It is not clear in docs that on() returns a stream. |
Here is an example of .off()
In a long living app, I need to add AND remove once I no longer need a 'listener'. I can't create a new stream as there are other 'listeners'. We are now on flyd and would like to stay on, but must have something like .off().
HELP.
The text was updated successfully, but these errors were encountered: