function
TaskRetention
Keep terminal task status/output for a bounded duration.
Arguments
| Argument | Type | Description |
|---|---|---|
retention | time.Duration | The retention value. |
Returns
The declared result.
TaskOptionFull signature
func TaskRetention(retention time.Duration) TaskOptionRelated types
TaskOptionOne typed task policy option.