class

MCProtocol::ProgressNotificationParams

Inherits JSON::Serializable < Reference < Object

Constructors

new(progress : Float64, progressToken : ProgressToken, total : Float64 | Nil = Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

progress

The progress thus far. This should increase every time progress is made, even if the total is unknown.

Source
progressToken

The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.

Source
total

Total number of items to process (or total progress required), if known.

Source