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

RespondDecisionTaskCompletedInput

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

Input data for a TaskCompleted response to a decision task.

interface RespondDecisionTaskCompletedInput {
decisions?: Decision[] | null;
executionContext?: string | null;
taskToken: string;
}

§Properties

§
decisions?: Decision[] | null
[src]

The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the "Decision" structure for details.

§
executionContext?: string | null
[src]

User defined context to add to workflow execution.

§
taskToken: string
[src]

The taskToken from the "DecisionTask".

! IMPORTANT: ! taskToken is generated by the service and should be treated as an opaque value. ! If the task is passed to another process, its taskToken must also be passed. ! This enables it to provide its progress and respond with results.