private Function<ServiceBean, Mono<SomeResponse>> someFunction(SomeRequest someRequest) {
return serviceBean -> serviceBean.doSomething(someRequest)
.next();
}
Is the above method safe?
If I create, say 10 threads, with different type of SomeRequests and call this method at the same time, is it safe to assume there is threadsafety?