Header menu logo Nao

TaskRef Type

Lightweight snapshot of an async task, tracked in the parent session's grain state and returned to clients. The authoritative copy lives in the owning `ISessionTaskGrain`.

Constructors

Constructor Description

TaskRef()

Full Usage: TaskRef()

Returns: TaskRef
Returns: TaskRef

Instance members

Instance member Description

this.CreatedAt

Full Usage: this.CreatedAt

this.Error

Full Usage: this.Error

this.Kind

Full Usage: this.Kind

Executor kind, e.g. "agent" | "document-conversion".

this.Message

Full Usage: this.Message

this.Progress

Full Usage: this.Progress

this.ResultFileIds

Full Usage: this.ResultFileIds

Ids of files produced by the task, stored in the parent session's file store.

this.Status

Full Usage: this.Status

"pending" | "running" | "completed" | "failed" | "cancelled".

this.SubSessionKey

Full Usage: this.SubSessionKey

Key of the sub-session conversation this task drives ("" for non-conversation tasks).

this.TaskId

Full Usage: this.TaskId

this.Title

Full Usage: this.Title

this.TurnId

Full Usage: this.TurnId

Turn that launched the task (so the UI can attach the chip to the right message).

this.UpdatedAt

Full Usage: this.UpdatedAt

Type something to start searching.