Package io.quarkiverse.mcp.server
Interface ProgressNotification
public interface ProgressNotification
Represents a
notifications/progress message.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceConvenient progress notification builder. -
Method Summary
-
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
Send the message asynchronously to the client.- Returns:
- a new
Unithat completes with anullitem
-