Type Alias ManagedResumableTask

ManagedResumableTask: {
    id: string;
    retryCount: number;
    task: any;
    timeout: number;
}

An managed resumable task model.

Type declaration

  • id: string

    Globally unique ID. Used to extend or delete the task.

  • retryCount: number

    Number of retries

  • task: any

    Task specific data. This is deliberately of type any because this store should not have to be ware of its type.

  • timeout: number

    Task timeout in Epoch Time.