Skip to content

feat(upload-abort-controller): add optional abortController param for Upload #3873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

addy
Copy link
Contributor

@addy addy commented Aug 22, 2022

Issue

#3872

Description

This optionally exposes the abortController on the Upload object.

Testing

Wrote new test in Jest

Additional context

N/A


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@addy addy requested a review from a team as a code owner August 22, 2022 18:48
@@ -1,4 +1,5 @@
import { PutObjectCommandInput, S3Client, Tag } from "@aws-sdk/client-s3";
import { AbortController } from "@aws-sdk/abort-controller";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add this as a devDep in package.json?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually already there:

"@aws-sdk/abort-controller": "*",

@kuhe kuhe self-assigned this Sep 23, 2022
@kuhe
Copy link
Contributor

kuhe commented Sep 26, 2022

this is limited enough in scope to not require a rebase for status checks

@kuhe kuhe merged commit 90c6b11 into aws:main Sep 26, 2022
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants