Closed cshfang closed 1 week ago
Latest commit: f18c585a71d139fb0fe8a66e5333830968c26c89
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
…emoved via state updates
Description of changes
This PR drops the
remove
function from tasks. A task should be able to cancel its own processing state, but removal of a task should be done to its containing "list". When a location or file item is removed from state, theuseProcessTasks
hook will now synchronize its internal task ref to reflect the removal as well.Issue #, if available
Description of how you validated changes
Checklist
yarn test
passes and tests are updated/addeddocs
,e2e
,examples
, or other private packages.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.