Doru N.
11/02/2020, 11:07 PMIan Lake
11/02/2020, 11:09 PMIan Lake
11/02/2020, 11:10 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 separatelyIan Lake
11/02/2020, 11:19 PMlaunch
time will exist when the callback firesDoru N.
11/02/2020, 11:21 PMDoru N.
11/02/2020, 11:26 PMIan Lake
11/02/2020, 11:26 PMlaunch
Doru N.
11/02/2020, 11:27 PMDoru N.
11/02/2020, 11:29 PMIan Lake
11/02/2020, 11:30 PMlaunch
precisely because of the config changes and process death casesIan Lake
11/02/2020, 11:31 PMDoru N.
11/02/2020, 11:33 PM