https://kotlinlang.org logo
#coroutines
Title
# coroutines
v

vineethraj49

01/12/2021, 7:54 PM
has anyone tried to use coroutines within
StreamingOutput
before?
with dropwizard/jersey
j

Joe

01/12/2021, 8:47 PM
have bridged coroutines and
AsyncContext
to allow using `suspend fun`s as jersey async request handlers. not quite the same but maybe applicable? code is here: https://github.com/trib3/leakycauldron/blob/HEAD/server/src/main/kotlin/com/trib3/server/coroutine/
3 Views