JobExecution

Everything a running job knows about itself.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: JobId

Identifier of the running job.

Link copied to clipboard
val input: I

Payload the job was enqueued with.

Link copied to clipboard

Number of previous attempts, starting at zero.

Link copied to clipboard

Tags attached to the request.

Link copied to clipboard

Name of the JobType this job was enqueued under.

Functions

Link copied to clipboard
suspend fun setProgress(progress: JobProgress)

Publishes how far along the job is, observable through JobInfo.progress.