reactor-core/src/main/java/reactor/core/publisher/Mono.java
public final Flux<T> repeat(long numRepeat) {
		if (numRepeat == 0) {
			return this.flux();
		}
		return Flux.onAssembly(new MonoRepeat<>(this, numRepeat));
	}
public final Flux<T> repeat(long numRepeat) {
		if (numRepeat == 0) {
			return this.flux();
		}
		return Flux.onAssembly(new MonoRepeat<>(this, numRepeat));
	}
Repeatedly subscribe to the source {@literal numRepeat} times. This results in
{@code numRepeat + 1} total subscriptions to the original source. As a consequence,
using 0 plays the original sequence once.

<p>
<img class="marble" src="doc-files/marbles/repeatWithAttemptsForMono.svg" alt="">

@param numRepeat the number of times to re-subscribe on onComplete (positive, or 0 for original sequence only)
@return a {@link Flux} that repeats on onComplete, up to the specified number of repetitions