Skip to content

Typos and doc tweaks #1181

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
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Typos and doc tweaks #1181

wants to merge 1 commit into from

Conversation

drewnoakes
Copy link
Member

Just some minor change suggestions seen while reading this doc.

Copy link
Member

@AArnott AArnott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Just one touch-up to consider.

@@ -41,11 +41,11 @@ the Language Server Protocol Spec defines [a general purpose cancellation protoc
which StreamJsonRpc supports. Notifications cannot be canceled.

A client can cancel a request by canceling a `CancellationToken` supplied when originally invoking the request.
Be sure to call the `JsonRpc.Invoke*` method and overload that explicitly accepts `CancellationToken`
Be sure to call the `JsonRpc.Invoke*` method and an overload that explicitly accepts `CancellationToken`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needed a fix, but maybe not the one you propose. They only call one thing, but and suggested two things.

Suggested change
Be sure to call the `JsonRpc.Invoke*` method and an overload that explicitly accepts `CancellationToken`
Be sure to call the `JsonRpc.Invoke*` method overload that explicitly accepts `CancellationToken`

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about:

Suggested change
Be sure to call the `JsonRpc.Invoke*` method and an overload that explicitly accepts `CancellationToken`
Be sure to call an overload of a `JsonRpc.Invoke*` method that explicitly accepts `CancellationToken`

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

Successfully merging this pull request may close these issues.

2 participants