method

TypedTask.Result

func (task TypedTask[Input, Output]) Result( ctx context.Context, application *App, id string, ) (TaskResult[Output], error)

Result loads and decodes one task created by this typed definition.

Source core/task.go:270

@param ctx
The ctx value.
@param application
The application value.
@param id
The id value.
@returns
The declared result.

Related types

  • TypedTask

    Compiled typed durable-task definition.

  • Input

    A presence-aware value used by nullable generated Go mutation fields.

  • App

    A resolved application bound to operation services.

  • TaskResult

    Typed local status view for one durable task.