Can anyone advise if there is a clean way to get a...
# ktor
j
Can anyone advise if there is a clean way to get a publisher<bytebuffer> from a ktor call object? I have kotlinx.coroutines.reactive and it can turn a flow into a publisher but I can't find anything for a channel?
a
There is a
Channel.consumeAsFlow()
extension function to convert s channel into a flow
j
The type returned from call.receiveChannel is a ByteReadChannel which doesn't have that comsumeAsFlow?