getProgress()

Overview

public struct function getProgress(
      required string taskId
)

Returns progress of the given task as a struct. Struct keys: [id, progress, status, result].

Arguments

NameTypeRequiredDescription
taskIdstringYesID of the task whose progress you wish to get