Skip to content
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

How can I abort a push operation on Node? AbortController seems to be not supported. #1867

Open
ipeychev opened this issue Mar 4, 2024 · 2 comments

Comments

@ipeychev
Copy link

ipeychev commented Mar 4, 2024

Hey guys, I have a question, please: how can I abort a push operation on Node?
Context: there is too much data sometimes, and the operation may take too much time. I want to give the user the opportunity to abort the operation. I though to use AbortController, but it seems it is not supported?

Best regards,

@jcubic
Copy link
Contributor

jcubic commented Mar 4, 2024

There is no way to abort any git operation with isomorphic-git AFAIK.

If you want to add this feature, you will need to look into code. If you add this I'm happy to merge the PR.

@ipeychev
Copy link
Author

ipeychev commented Mar 5, 2024

hm, okay. I can try to do it for push command, and we can see if that will be feasible actually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants