Open sebastianhelbig opened 1 year ago
According to the docs it should, but it does not. This also seems untested.
cancelAll() options.resetState If true, will clear the task state (last* and performCount properties will be set to initial values). Defaults to false.
console.log(myTask.performCount); --> 2 await myTask.cancelAll({ resetState: true }); console.log(myTask.performCount); --> 2
According to the docs it should, but it does not. This also seems untested.