KestrunTaskService.GetState method
Gets the current state for a task.
public TaskState? GetState(string id)
| parameter | description |
|---|---|
| id | The task identifier. |
Return Value
The task state, or null if not found.
See Also
- enum TaskState
- class KestrunTaskService
- namespace Kestrun.Tasks