Options for the task function
The name of the task, analogous to the node name in StateGraph.
Optional
The retry policy for the task. Configures how many times and under what conditions the task should be retried if it fails.
Options for the task function