Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a016a6 commit 9afd77fCopy full SHA for 9afd77f
packages/worker/src/activity.ts
@@ -56,7 +56,6 @@ export class Activity {
56
if (this.cancelRequested) {
57
// Either a CancelledError that we threw or AbortError from AbortController
58
if (err instanceof CancelledError || (err.name === 'AbortError' && err.type === 'aborted')) {
59
- // TODO: should we only allow CancelledError to count as valid cancellation?
60
return { canceled: {} };
61
}
62
0 commit comments