Add 'sampleWith' operator #6681
j-mueller
started this conversation in
Ideas / Feature request
Replies: 1 comment
-
Wouldn't
The only difference is that two emissions of notifier will result in two emissions even if source didn't change... But then, wouldn't |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The
sample
function currently drops the value of the notifier. It would be nice to be able to keep the notifier value like this:We could then write the old
sample
(ignoring the notifier value) in terms ofsampleWith
.Beta Was this translation helpful? Give feedback.
All reactions