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

Use ValueTask #1233

Closed
bgrainger opened this issue Oct 18, 2022 · 1 comment
Closed

Use ValueTask #1233

bgrainger opened this issue Oct 18, 2022 · 1 comment

Comments

@bgrainger
Copy link
Member

Since #1144, MySqlConnector is using the latest version of System.Threading.Tasks.Extension. This provides ValueTask on all platforms.

Replace all uses of ValueTask<int> (that don't use the .Result) with a plain ValueTask.

@bgrainger
Copy link
Member Author

Fixed in 2.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant