Task interface

A Durable Functions Task.

Properties

isCompleted

Whether the task has completed. Note that completion is not equivalent to success.

isFaulted

Whether the task faulted in some way due to error.

result

The result of the task, if completed. Otherwise undefined.

Property Details

isCompleted

Whether the task has completed. Note that completion is not equivalent to success.

isCompleted: boolean

Property Value

boolean

isFaulted

Whether the task faulted in some way due to error.

isFaulted: boolean

Property Value

boolean

result

The result of the task, if completed. Otherwise undefined.

result?: unknown

Property Value

unknown