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

allow extensions to create CancellationTokenSource #5651

Open
axel7083 opened this issue Jan 23, 2024 · 1 comment
Open

allow extensions to create CancellationTokenSource #5651

axel7083 opened this issue Jan 23, 2024 · 1 comment
Labels
area/extensions 🧩 kind/enhancement ✨ Issue for requesting an improvement

Comments

@axel7083
Copy link
Contributor

Is your enhancement related to a problem? Please describe

Extensions should be able to create CancellationTokenSource.

Describe the solution you'd like

Create CancellationTokenSource and use the corresponding id to provide it to long running tasks such as PullImage and BuildContainer

Describe alternatives you've considered

No response

Additional context

No response

@axel7083 axel7083 added the kind/enhancement ✨ Issue for requesting an improvement label Jan 23, 2024
@benoitf
Copy link
Collaborator

benoitf commented Jan 23, 2024

Issue is around that in .d.ts CancellationTokenSource should be a class so that people can do

new podmanDesktopAPI.CancellationTokenSource();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/extensions 🧩 kind/enhancement ✨ Issue for requesting an improvement
Projects
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

3 participants