Skip to main content

Interface: $Properties

nexus.NexusTaskCompletion.$Properties

Properties of a NexusTaskCompletion.

Hierarchy​

Properties​

ackCancel​

• Optional ackCancel: null | boolean

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.


completed​

• Optional completed: null | $Properties

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


error​

• Optional error: null | $Properties

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


failure​

• Optional failure: null | $Properties

The handler could not complete the request for some reason.


status​

• Optional status: "completed" | "error" | "ackCancel" | "failure"

NexusTaskCompletion status


taskToken​

• Optional taskToken: null | Uint8Array

The unique identifier for this task provided in the poll response