Type alias Task

Task: {
    cancel: ((reason) => void);
    created: Date;
    deadline: number;
    delay: number;
    handlerId: TaskHandlerId;
    id: TaskId;
    parameters: TaskParameters;
    path: TaskPath;
    priority: number;
    promise: (() => PromiseCancellable<any>);
    scheduled: Date;
    status: TaskStatus;
}

Task POJO returned to the user

Type declaration

  • cancel: ((reason) => void)
      • (reason): void
      • Parameters

        • reason: any

        Returns void

  • created: Date
  • deadline: number
  • delay: number
  • handlerId: TaskHandlerId
  • id: TaskId
  • parameters: TaskParameters
  • path: TaskPath
  • priority: number
  • promise: (() => PromiseCancellable<any>)
      • (): PromiseCancellable<any>
      • Returns PromiseCancellable<any>

  • scheduled: Date
  • status: TaskStatus

Generated using TypeDoc