You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And that's what I expected when debouncing the Rx pipe.
Now, if line 32 is commented and 34 is uncommented, so that the pull pipe is debounced instead of the push pipe, I expect the results would be very similar.
After running it several times, I find the output is consistent. Notice how from: 5 is reported but it seems like there wouldn't have been enough time for the 50ms debounce to expire; the same goes for some of the other from:.
Do I need to think about this differently or is there a bug and/or performance problem in Ix's debounce?
Additional information:
The input signature of Rx's debounce is different from Ix's debounce. I'm aware there's a rewrite (#264) underway but on that branch debounce still takes a number directly.
Would it make sense for Ix's operator to be revised so that a user would supply e.g. () => interval(50)?
The text was updated successfully, but these errors were encountered:
IxJS version: 2.5.3 (RxJS version: 6.5.2, Node.js version: 10.16.3)
Code to reproduce: debouncePipe.js
Expected behavior:
When the script is run as-is:
And that's what I expected when debouncing the Rx pipe.
Now, if line 32 is commented and 34 is uncommented, so that the pull pipe is debounced instead of the push pipe, I expect the results would be very similar.
Actual behavior:
With line 32 commented and 34 uncommented:
After running it several times, I find the output is consistent. Notice how
from: 5
is reported but it seems like there wouldn't have been enough time for the 50ms debounce to expire; the same goes for some of the otherfrom:
.Do I need to think about this differently or is there a bug and/or performance problem in Ix's
debounce
?Additional information:
The input signature of Rx's
debounce
is different from Ix'sdebounce
. I'm aware there's a rewrite (#264) underway but on that branch debounce still takes a number directly.Would it make sense for Ix's operator to be revised so that a user would supply e.g.
() => interval(50)
?The text was updated successfully, but these errors were encountered: