<Create Many-to-One SharedFlow> I want to implemen...
# stackoverflow
u
Create Many-to-One SharedFlow I want to implement Firebase Auth login in my app. I have a DataSource class which has two functions along with their callbacks to handle code sending and verifying. So basically I have two APIs to call, and I can't use suspendCoroutine because they produce multiple values. I want to use callbackFlow. I have a MutableSharedFlow in my repository, I want those callbacks to emit results to that sharedFlow but i can't use emit(result) in callbackFlow. And when I use offer(result), the function...