WorkBase.
What every unit of work carries beyond the unit
Figure 1WorkBasespecified
- kind
- value
- scope
- none
- key
- carried by every unit of work
- store
- none
- family
- kernel
Fields#
| field | type | required | note |
|---|---|---|---|
place | text | yes | exactly one of the kind’s places |
entered_place_at | time | yes | |
due_at | time | no | its deadline |
held_reason | text | no | required whenever it waits |
input_key | text | yes | its idempotency key, so the same input is the same work |
attempts | Attempt | yes | each with the class of its failure |
cost | Cost | yes |
Routes that use it#
No route takes or returns WorkBase directly. The record holds it, and the objects that point at it reach it.