rook
09/09/2019, 10:10 PME/File$object: kotlinx.coroutines.channels.ClosedSendChannelException: Channel was closed
at kotlinx.coroutines.channels.Closed.getSendException(AbstractChannel.kt:1048)
at kotlinx.coroutines.channels.AbstractSendChannel.offer(AbstractChannel.kt:166)
at kotlinx.coroutines.channels.ChannelCoroutine.offer(ChannelCoroutine.kt)
Channel was closed
error when I try to offer
.Dominaezzz
09/09/2019, 10:15 PMchannelFlow<List<Foo>> {
updateStream().subscribe({ offer(it) }, {})
awaitClose {
// unsubscribe
}
}
rook
09/09/2019, 10:16 PM