Skip to main content

Interface: INexusTask

coresdk.nexus.INexusTask

Properties of a NexusTask.

Implemented by

Properties

cancelTask

Optional cancelTask: null | ICancelNexusTask

A request by Core to notify an in-progress operation handler that it should cancel. This is distinct from a CancelOperationRequest from the server, which results from the user requesting the cancellation of an operation. Handling this variant should result in something like cancelling a cancellation token given to the user's operation handler.

These do not count as a separate task for the purposes of completing all issued tasks, but rather count as a sort of modification to the already-issued task which is being cancelled.

EX: Core knows the nexus operation has timed out, and it does not make sense for the user's operation handler to continue doing work.


task

Optional task: null | IPollNexusTaskQueueResponse

A nexus task from server