Need help with integration Realm database и `kotli...
# android
m
Need help with integration Realm database и
kotlinx.coroutines
. Channel in the listener has
sClosedForSend
is true. Can i keep channel active? Sample:
d
Make a new channel and use it, since
produce
gets closed as soon as its block finishes (which is long enough for the listener to gat registered, but not long enough for it to send events...)
👍 1
You can also see #coroutines ... there was recently an answer about this.