function
ValidateTaskAdmission
Validate a complete durable task before admission.
Arguments
| Argument | Type | Description |
|---|---|---|
task | Task | The record whose slug, queue, payload, policy, references, and timestamps must be bounded. |
Returns
Nil when valid or a bounded, actionable contract error.
errorHow it works
Custom TaskStore implementations should call this at their direct public boundary and still enforce the corresponding database invariants atomically.
Full signature
func ValidateTaskAdmission(task Task) errorRelated types
TaskAdapter-neutral durable task data.