When using webflux restcontroller, will it beneficial using coroutines suspend functions for the controllers, given that webflux is non-blocking in nature?
s
sdeleuze
02/16/2023, 5:35 PM
WebFlux is non blocking if you use Reactive or suspending functions in the body of you handler methods for IO related stuff.
sdeleuze
02/16/2023, 5:37 PM
So I think the answer to your question is probably yes even if I lack a bit of context to answer more precisely.
➕ 2
y
Yogeshvu
02/16/2023, 5:39 PM
This is helpful! thanks
Yogeshvu
02/16/2023, 5:40 PM
Are there any good github projects to check which show how the webflux and coroutines are used together?