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

how to cancel async ? #37

Open
sonygod opened this issue Jan 11, 2020 · 2 comments
Open

how to cancel async ? #37

sonygod opened this issue Jan 11, 2020 · 2 comments

Comments

@sonygod
Copy link

sonygod commented Jan 11, 2020

how to cancel async ? I can't find any keyword about cancel like

https://docs.microsoft.com/en-us/dotnet/standard/parallel-programming/task-cancellation?redirectedfrom=MSDN

@kevinresol
Copy link
Member

I don't think it is possible to perform a cancellation in tink_await.

With plain tink_core you can implement with a CallbackLink

@sonygod
Copy link
Author

sonygod commented Jan 17, 2020

@kevinresol I agree,but how about consider something like timeout in asynchronous?

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

No branches or pull requests

2 participants