| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Arbiter.Core.Job.Status
Description
Status values derived from a job row by the queue status SQL.
Documentation
Effective job status. Arbiter derives status from the stored fields. The status SQL in Arbiter.Core.Sql.Jobs is its source of truth.
Instances
Source #jobStatusToText :: JobStatus -> Text
The wire name for a status.
Source #jobStatusFromText :: Text -> Either Text JobStatus
Strict inverse of jobStatusToText. Unknown values are rejected.