Skip to content

Consider Exposing cancellationToken in Signatures #1618

@LukeAbby

Description

@LukeAbby

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions