public class SinkSubscriber
extends Object
-
Method Summary
static void
subscribe(reactor.core.publisher.Sinks.Empty<Void> sink,
reactor.core.publisher.Mono<Void> mono)
See Mono.subscribe(Consumer, Consumer, Runnable)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
subscribe
public static void subscribe(reactor.core.publisher.Sinks.Empty<Void> sink,
reactor.core.publisher.Mono<Void> mono)
See Mono.subscribe(Consumer, Consumer, Runnable)
- Parameters:
sink
- - The sink that will consume signals emitted by the mono.
mono
- - The mono to subscribe on.