Patrick Steiger
03/06/2023, 12:11 AMmoleculeFlow
or launchMolecule
only work when the resuting flow is being subscribed to? I’m trying to achieve a behavior similar to SharingStarted.WhileSubscribed
so I can stop all processing when app is in background when collecting the resulting flow using flowWithLifecycle
, repeatOnLifecycle
or, in Compose UI, collectAsStateWithLifecycle
.