Skip to content

Why doesn't this result in an infinite loop? #6071

Answered by cartant
Sawtaytoes asked this question in Q&A
Discussion options

You must be logged in to vote

My guess is that startWith emits before it subscribes to its source, so it's not subscribed at the time the next call is made. Feature. Not a bug.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@cartant
Comment options

cartant Mar 3, 2021
Collaborator

@Sawtaytoes
Comment options

@cartant
Comment options

cartant Mar 3, 2021
Collaborator

@Sawtaytoes
Comment options

@kwonoj
Comment options

Answer selected by Sawtaytoes
Comment options

You must be logged in to vote
1 reply
@cartant
Comment options

cartant Mar 5, 2021
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants