Interface ProgressNotification


public interface ProgressNotification
Represents a notifications/progress message.
  • Method Details

    • token

      ProgressToken token()
      Returns:
      the original progress token
    • total

      BigDecimal total()
      Returns:
      the total value
    • progress

      BigDecimal progress()
      Returns:
      the progress value
    • message

      String message()
      Returns:
      the message
    • sendAndForget

      void sendAndForget()
      Send the message to the client without waiting for the result.

      The message can be sent asynchronously, e.g. if this method is invoked on an event loop.

    • send

      @CheckReturnValue io.smallrye.mutiny.Uni<Void> send()
      Send the message asynchronously to the client.
      Returns:
      a new Uni that completes with a null item