KrTask record
Basic information about a task for listing purposes.
public record KrTask
Public Members
| name | description |
|---|---|
| KrTask(…) | Basic information about a task for listing purposes. |
| ChildrenId { get; set; } | Identifiers of any child tasks spawned by this task. |
| CompletedAt { get; set; } | UTC timestamp when execution ended. |
| Description { get; set; } | Optional description of the task. |
| Duration { get; } | Duration of the execution, if both timestamps are available. |
| Id { get; set; } | Unique task identifier. |
| Name { get; set; } | Optional human-friendly name of the task. |
| ParentId { get; set; } | Optional identifier of the parent task, if any. |
| Progress { get; set; } | Optional progress state of the task. |
| StartedAt { get; set; } | UTC timestamp when execution started. |
| State { get; set; } | Final state of the task when the result was captured. |
| StateText { get; } | The textual name of State for display and serialization convenience. |
See Also
- namespace Kestrun.Tasks