Alberto
08/04/2020, 3:36 PMzsperske
08/04/2020, 3:38 PMAlberto
08/04/2020, 3:40 PMzsperske
08/04/2020, 3:41 PMstreetsofboston
08/04/2020, 3:41 PMObserver
that is in the common shared code and accepts a plain lambda for iOS or a suspend lambda for Android.
These lambdas are the callbacks for `Flow`s emitting data, or, if you want, for a suspend-fun returning a value.Alberto
08/04/2020, 3:44 PMzsperske
08/04/2020, 3:46 PMAlberto
08/04/2020, 3:49 PMbsimmons
08/04/2020, 3:59 PMAlberto
08/04/2020, 4:01 PMstreetsofboston
08/04/2020, 4:06 PM1.3.5-native-mt
and a few other versions…., they are mentioned in that 462 issuebsimmons
08/04/2020, 4:16 PMstreetsofboston
08/04/2020, 4:18 PMDispatchers.Default
to your common code.
If you are interested in doing KMP for Android and iOS only, take a look at TouchLab’s KaMP-Kit for guidance.bsimmons
08/04/2020, 4:22 PMPeter Hsu
08/04/2020, 4:23 PMrusshwolf
08/04/2020, 4:58 PMPeter Hsu
08/04/2020, 5:05 PMrusshwolf
08/04/2020, 5:10 PMPeter Hsu
08/04/2020, 5:13 PMPeter Hsu
08/04/2020, 5:13 PMrusshwolf
08/04/2020, 5:18 PMPeter Hsu
08/04/2020, 5:48 PM