Hi, Can anyone give me and example of using Channe...
# android
v
Hi, Can anyone give me and example of using Channel with suspendCancellableCoroutine, for observing firebase document updates
v
How to avoid this error , java.lang.IllegalStateException: Already resumed, but proposed with update ?
m
When does the error happen?
v
when resume is called twice on suspendCancellableCoroutine
Any workaround for that, I did not understand your example
m
suspendCancellableCoroutine
cannot emit multiple times, that’s why you need
callbackFlow
This blog post explains these APIs in detail
v
Many Thanks @Manuel Vivo
👍 1