KrTask constructor
Basic information about a task for listing purposes.
public KrTask(string Id, string Name, string Description, TaskState State,
DateTimeOffset? StartedAt, DateTimeOffset? CompletedAt, ProgressiveKestrunTaskState? Progress,
string ParentId, string[] ChildrenId)
| parameter | description |
|---|---|
| Id | Unique task identifier. |
| Name | Optional human-friendly name of the task. |
| Description | Optional description of the task. |
| State | Final state of the task when the result was captured. |
| StartedAt | UTC timestamp when execution started. |
| CompletedAt | UTC timestamp when execution ended. |
| Progress | Optional progress state of the task. |
| ParentId | Optional identifier of the parent task, if any. |
| ChildrenId | Identifiers of any child tasks spawned by this task. |
See Also
- enum TaskState
- class ProgressiveKestrunTaskState
- record KrTask
- namespace Kestrun.Tasks