我在网上看到了很多例子,人们使用Mono
public Mono<Employee> addUser(ServerRequest request){...}
or
Mono<Employee> employeeMono = client.get()...
vs。
public Mono addUser(ServerRequest request){...}
or
Mono employeeMono = client.get()...
和
public Flux<Employee> addUsers(ServerRequest request){...}
or
Flux<Employee> employeeMono = client.get()...
vs。
public Flux addUsers(ServerRequest request){...}
or
Flux employeeMono = client.get()...