https://kotlinlang.org logo
#coroutines
Title
# coroutines
a

aaverin

08/27/2018, 3:48 PM
Is it possible to wrap around callback with
produce
somehow, similar to
suspendCancellableCoroutine
? I am trying to have coroutines for Firebase Firestore and they use
addSnapshotCallback
to observe hot data
b

bj0

08/27/2018, 4:14 PM
I use a channel for these cases
4 Views