Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

CancellationToken support #245

Closed
yukozh opened this issue Oct 30, 2016 · 2 comments
Closed

CancellationToken support #245

yukozh opened this issue Oct 30, 2016 · 2 comments

Comments

@yukozh
Copy link

yukozh commented Oct 30, 2016

Why there is no cancellation token param in GetAsync or GetStringAsync?

In my project, I need this feature. I want to stop getting cache result in some scene.

@Tratcher
Copy link
Member

On the IDistributedCache I assume?

Is the cache taking too long? What implementation are you using?

@yukozh
Copy link
Author

yukozh commented Nov 1, 2016

Yep. It didn't take too long, but I'm using that in Task.WaitAny(). I want to stop the others while any Task finished.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants