https://kotlinlang.org logo
#spring
Title
# spring
y

Yogeshvu

02/16/2023, 5:08 PM
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.
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
Are there any good github projects to check which show how the webflux and coroutines are used together?
9 Views