kmongo / org.litote.kmongo.reactor / org.reactivestreams.Publisher / blockLast

blockLast

fun Publisher<*>.blockLast(): Any? (source)

Subscribes to and awaits the termination of this Publisher instance in a blocking manner and rethrows any exception emitted.

Exceptions

RuntimeException - wrapping an InterruptedException if the current thread is interrupted