Skip to content

unsubscribe from Observable #108

Discussion options

You must be logged in to vote

ok I just answered it myself. I need to assign
const subscriber = state$.subscribe(....)

then I can call
subscriber.unsubscribe()

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by theSilverFisch
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants