Skip to content

WorkDoneProgressCancelNotification is not using the given cancellation strategy #1191

Open
@heejaechang

Description

@heejaechang

according to this - https://github.com/microsoft/vscode-languageserver-node/blob/main/server/src/common/progress.ts#L160 - workDoneProgressCancelNotification is using regular message for the cancellation notification.

this should use the same cancellation strategy provided like the regular cancellation messages - https://github.com/microsoft/vscode-languageserver-node/blob/main/jsonrpc/src/common/connection.ts#L1402, otherwise, anyone who uses custom cancellation strategy won't be able to use workdoneProgress's cancellation feature including ones who use sharedArrayCancellation for browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions