Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ActivityTask

import type { ActivityTask } from "https://aws-api.deno.dev/v0.4/services/swf.ts?docs=full";

Unit of work sent to an activity worker.

interface ActivityTask {
activityId: string;
activityType: ActivityType;
input?: string | null;
startedEventId: number;
taskToken: string;
workflowExecution: WorkflowExecution;
}

§Properties

§
activityId: string
[src]

The unique ID of the task.

§
activityType: ActivityType
[src]

The type of this activity task.

§
input?: string | null
[src]

The inputs provided when the activity task was scheduled. The form of the input is user defined and should be meaningful to the activity implementation.

§
startedEventId: number
[src]

The ID of the ActivityTaskStarted event recorded in the history.

§
taskToken: string
[src]

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

§
workflowExecution: WorkflowExecution
[src]

The workflow execution that started this activity task.