before i dive too deep into it, are there any thoughts for
kotlinx-coroutines-jdk8
library to support helpers for
Channel
that adapt it to a
Stream
?
e
elizarov
02/22/2017, 5:57 AM
You cannot adapt Channel to Stream. Stream is single-threaded and synchronous while Channel is concurrent and async. You CAN adapt Sequence to Stream and vice versa, though.
m
mkobit
02/22/2017, 2:46 PM
@elizarov that makes sense, thanks for the response