Viral Thakker
07/06/2021, 11:32 AMManuel Vivo
07/06/2021, 11:34 AMcallbackFlow
should be enough for your use case. TAL https://github.com/google/iosched/blob/main/shared/src/main/java/com/google/sample[…]ed/data/signin/datasources/FirestoreRegisteredUserDataSource.ktViral Thakker
07/06/2021, 11:59 AMManuel Vivo
07/06/2021, 12:06 PMViral Thakker
07/06/2021, 12:10 PMViral Thakker
07/06/2021, 12:10 PMManuel Vivo
07/06/2021, 12:13 PMsuspendCancellableCoroutine
cannot emit multiple times, that’s why you need callbackFlow
Manuel Vivo
07/06/2021, 12:13 PMManuel Vivo
07/06/2021, 12:14 PMViral Thakker
07/06/2021, 12:20 PM