JobProgress

@Serializable
data class JobProgress(val fraction: Float? = null, val message: String? = null)(source)

What a running job reports about how far along it is.

Progress lives in memory only: it is dropped once the job finishes, and an attempt that is cut short starts its next run without it.

Constructors

Link copied to clipboard
constructor(fraction: Float? = null, message: String? = null)

Properties

Link copied to clipboard

How much of the work is done, from 0.0 to 1.0, or null when the job cannot tell.

Link copied to clipboard

What the job is doing right now, for showing to a person.