Header menu logo Nao

TaskRecord Type

On-disk, grain-independent record of an async task. This is the externalized copy of a task's authoritative state, written by the owning task grain so the full task history is readable straight from the filesystem (for tracking/debugging) without activating a grain.

Record fields

Record Field Description

CancelRequested

Full Usage: CancelRequested

Field type: bool
Field type: bool

CompletedAt

Full Usage: CompletedAt

Field type: DateTimeOffset
Field type: DateTimeOffset

CreatedAt

Full Usage: CreatedAt

Field type: DateTimeOffset
Field type: DateTimeOffset

Error

Full Usage: Error

Field type: string
Field type: string

Kind

Full Usage: Kind

Field type: string
Field type: string

Message

Full Usage: Message

Field type: string
Field type: string

ParamsJson

Full Usage: ParamsJson

Field type: string

Serialized executor parameters.

Field type: string

ParentKey

Full Usage: ParentKey

Field type: string

Parent session key ("userId/sessionId") this task belongs to.

Field type: string

Progress

Full Usage: Progress

Field type: float
Field type: float

ResultFileIds

Full Usage: ResultFileIds

Field type: string list
Field type: string list

ResultSummary

Full Usage: ResultSummary

Field type: string
Field type: string

Sequence

Full Usage: Sequence

Field type: int

Per-session insertion order, assigned by the store (1-based, monotonic, stable).

Field type: int

StartedAt

Full Usage: StartedAt

Field type: DateTimeOffset
Field type: DateTimeOffset

Status

Full Usage: Status

Field type: string
Field type: string

SubSessionKey

Full Usage: SubSessionKey

Field type: string
Field type: string

TaskId

Full Usage: TaskId

Field type: string
Field type: string

Title

Full Usage: Title

Field type: string
Field type: string

TurnId

Full Usage: TurnId

Field type: string
Field type: string

Type something to start searching.