Module Progress_update_event.Payload

type t = {
progress_id : string;

The ID that was introduced in the initial 'progressStart' event.

message : string option;

Optional, more detailed progress message. If omitted, the previous message (if any) is used.

percentage : float option;

Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown.

}
val make : progress_id:string -> ?⁠message:string option -> ?⁠percentage:float option -> unit -> t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or