Interface UniSubscription

    • Method Detail

      • cancel

        void cancel()
        Requests the Uni to cancel and clean up resources. If the item is retrieved after cancellation, it is not forwarded to the subscriber. If the cancellation happens after the delivery of the item, this call is ignored.

        Calling this method, emits the cancellation event upstream.

        Specified by:
        cancel in interface Cancellable
        Specified by:
        cancel in interface org.reactivestreams.Subscription
      • request

        default void request​(long n)
        Specified by:
        request in interface org.reactivestreams.Subscription