Skip to main content

Interface: INexusTaskCompletion

Properties of a NexusTaskCompletion.

Extends​

Properties​

ackCancel?​

optional ackCancel?: boolean | null

The lang SDK acknowledges that it is responding to a CancelNexusTask and thus the response is irrelevant. This is not the only way to respond to a cancel, the other variants can still be used, but this variant should be used when the handler was aborted by cancellation.

Inherited from​

$Properties.ackCancel


completed?​

optional completed?: $Properties | null

The handler completed (successfully or not). Note that the response kind must match the request kind (start or cancel).

Inherited from​

$Properties.completed


error?​

optional error?: $Properties | null

The handler could not complete the request for some reason. Deprecated, use failure.

Inherited from​

$Properties.error


failure?​

optional failure?: $Properties | null

The handler could not complete the request for some reason.

Inherited from​

$Properties.failure


status?​

optional status?: "completed" | "error" | "ackCancel" | "failure"

NexusTaskCompletion status

Inherited from​

$Properties.status


taskToken?​

optional taskToken?: Uint8Array<ArrayBufferLike> | null

The unique identifier for this task provided in the poll response

Inherited from​

$Properties.taskToken