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

Pass-through CancellationTokens to connections #143

Merged
merged 2 commits into from
Aug 10, 2018
Merged

Pass-through CancellationTokens to connections #143

merged 2 commits into from
Aug 10, 2018

Conversation

martincostello
Copy link
Contributor

This PR add some optional parameters to some methods so that CancellationTokens can be passed through to IConnection.Run() (original PR comment).

It also adds ConfigureAwait(false) calls to usages of await inside the library and few liberal sprinkles of /// <inheritdoc /> where relevant in files I touched.

Extend methods for running queries to accept CancellationTokens.
Add ConfigureAwait(false) to all await usage inside the library.
@StanleyGoldman StanleyGoldman merged commit a7a63b3 into octokit:master Aug 10, 2018
@martincostello
Copy link
Contributor Author

Thanks @StanleyGoldman!

@martincostello martincostello deleted the Cancellation-Tokens branch August 10, 2018 15:54
@StanleyGoldman StanleyGoldman added this to the v0.1.1-beta milestone Aug 10, 2018
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.

None yet

2 participants