It's a complicated question for me. I see two ways...
# coroutines
d
It's a complicated question for me. I see two ways of doing this: - The first option is introduction of additional extensions to basic
async
controller (based on
CompletableFuture
), this may be unacceptable for JDK < 8. Also extensions are not supported yet - Another one is to implement separate controller class and builder function for each different framework (RX, NIO, etc.), as you suggested. But this leads to inconvenience when you want to use different
await
-able things within a single coroutine
1