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

Add CancellationToken overloads. #77

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

S-Luiten
Copy link

Fixes #76

Copy link
Collaborator

@ADefWebserver ADefWebserver left a comment

Choose a reason for hiding this comment

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

Looks good, but, I don't understand why the Interop class has to be changed to internal. This would cause a breaking change. Yes, I know developers should not reference it, but, for those that are, I never want to introduce a breaking change to add a feature.

using System.Threading.Tasks;

namespace Blazored.TextEditor
{
public static class Interop
internal static class Interop
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this required?

@S-Luiten
Copy link
Author

Looks good, but, I don't understand why the Interop class has to be changed to internal. This would cause a breaking change. Yes, I know developers should not reference it, but, for those that are, I never want to introduce a breaking change to add a feature.

I just noticed the class only contains internal members so it might as well be internal itself, but you're right it would be a breaking change. I reverted this change.

@ADefWebserver
Copy link
Collaborator

Can you add examples on the Server project and the Client project that shows how this would be used?

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.

[Feature Request] Add overloads with CancellationToken parameter to async methods.
2 participants