Cache Aspect

avistokar's Avatar


02 Oct, 2017 03:22 PM

Can I use the caching Aspect on a method that return a Task,
If the method return Task<T>, do I have to await the result or can I return the Task<T> directly

  1. 1 Posted by avistokar on 02 Oct, 2017 04:40 PM

    avistokar's Avatar

    I tested it in a small test appl and see that it works as expected with methods that return Task and Task<T>

  2. avistokar closed this discussion on 02 Oct, 2017 04:40 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac