Skip to content

Consider Exposing cancellationToken in Signatures #1618

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

Open
LukeAbby opened this issue Mar 2, 2025 · 0 comments
Open

Consider Exposing cancellationToken in Signatures #1618

LukeAbby opened this issue Mar 2, 2025 · 0 comments

Comments

@LukeAbby
Copy link

LukeAbby commented Mar 2, 2025

In methods like getPreEmitDiagnostics a CancellationToken should probably be exposed. I'm running multiple TypeScript jobs in parallel and want to be able to cancel them. I think this would mostly just entail passing through the parameter to the underlying functions.

I'd be willing to contribute this if you'd like.

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

1 participant