I am new to Spring Reactive programming and Spring Async methods. I have a doubt. By using spring webflux we can have reactive programming so that we can execute a particular piece of code and our current thread need not to wait for it to finish the execution. Similarly by using @async method we can make that particular piece of code run in a different thread so that our current thread wont wait.
So in these cases how webflux and async method are different and when to use which?