method
TypedTask.Result
Result loads and decodes one task created by this typed definition.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
application | *App | The application value. |
id | string | The id value. |
Returns
The declared result.
(TaskResult[Output], error)Full signature
func (task TypedTask[Input, Output]) Result(
ctx context.Context,
application *App,
id string,
) (TaskResult[Output], error)Related types
TypedTaskCompiled typed durable-task definition.
InputA presence-aware value used by nullable generated Go mutation fields.
AppA resolved application bound to operation services.
TaskResultTyped local status view for one durable task.