Doru N.
11/02/2020, 11:07 PMIan Lake
11/02/2020, 11:09 PMtryEmit()
from that callback to your own MutableSharedFlow
that you collect onDoru N.
11/02/2020, 11:14 PMIan Lake
11/02/2020, 11:16 PMConflatedBroadcastChannel
- MutableSharedFlow
is the replacement as per https://blog.jetbrains.com/kotlin/2020/10/kotlinx-coroutines-1-4-0-introducing-stateflow-and-sharedflow/Doru N.
11/02/2020, 11:16 PMIan Lake
11/02/2020, 11:18 PMlaunch
as they can and do occur completely separatelylaunch
time will exist when the callback firesDoru N.
11/02/2020, 11:21 PMIan Lake
11/02/2020, 11:26 PMlaunch
Doru N.
11/02/2020, 11:27 PMIan Lake
11/02/2020, 11:30 PMlaunch
precisely because of the config changes and process death casesDoru N.
11/02/2020, 11:33 PM