Usually it is wrong to manually implement Publisher interface. Consider using static generators from RxJava or Reactor, like:
- Flux.just, Flux.create, Flux.generate, Flux.from*
- Mono.create, Mono.from*, Mono.just
- Flowable.just, Flowable.from*
- Maybe.just, Maybe.from*