DEV Community

loading...

Discussion on: StateFlow and SharedFlow: the new hot stream APIs in town

Collapse
lolicon profile image
lolicon

flow cancels automatically when stopped state as long as you collect it in lifecycleScope

Forem Open with the Forem app