throttle(() => interval(500)) vs throttle(() => timer(500)) #6883
Unanswered
freiondrej
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello,
if I understand the behavior correctly,
throttle(() => interval(500))
behaves the same way asthrottle(() => timer(500))
. Is there any difference in usinginterval()
instead oftimer()
forthrottle()
?Or in the use case with
throttle(() => interval(500))
, which waits for completion of the provided observable,throttle()
will never emit becauseinterval()
never completes?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions