https://kotlinlang.org logo
#ktor
Title
# ktor
b

bdawg.io

04/08/2019, 7:41 PM
Is there any support for the
Flow<T>
preview available for the clients? If not, any suggestions on how it should be approached to integrate into the existing content transformation work?
g

gildor

04/09/2019, 2:49 AM
Just curious, why do you need Flow for the client? isn’t the client support only suspend functions to do requests
b

bdawg.io

04/09/2019, 3:08 PM
Yes it has suspend functions, but also has content transformation features which could make it a candidate for first class support of Flow. My sample (which probably should be abstracted from the client) would be to essentially have a lazy channel that would allow me to pass an already-built flow so that credentials stay isolated to a smaller portion of my project
g

gildor

04/09/2019, 11:29 PM
Interesting
3 Views