Type alias CancelResult

CancelResult: {
    err: undefined;
    op: "cancel";
    val: undefined;
}

A JobResult that indicates the job was canceled by its creator (via end() or restart()).

Type declaration

  • err: undefined
  • op: "cancel"
  • val: undefined