Interface TaskStatusUpdateEvent

Sent by server during sendStream or subscribe requests

This interface was referenced by MySchema's JSON-Schema via the definition "TaskStatusUpdateEvent".

interface TaskStatusUpdateEvent {
    contextId: string;
    final: boolean;
    kind: "status-update";
    metadata?: {
        [k: string]: unknown;
    };
    status: TaskStatus1;
    taskId: string;
}

Properties

contextId: string

The context the task is associated with

final: boolean

Indicates the end of the event stream

kind: "status-update"

Event type

metadata?: {
    [k: string]: unknown;
}

Extension metadata.

Type declaration

  • [k: string]: unknown
status: TaskStatus1
taskId: string

Task id