Constructors

Properties

error?: any
results?: TaskResult[]
runner?: SDTaskRunner
status: SDTaskStatus = SDTaskStatus.pending
task_id: string

Methods

  • Type Parameters

    • T

    Parameters

    • callback: (() => T)
        • (): T
        • Returns T

    Returns Promise<undefined | T>