IValueAdapter<T>.GetStoredValueAsync Method
GetStoredValueAsync(T, CancellationToken)
Asynchronously gets the value that should be stored in the cache.
Declaration
Task<object> GetStoredValueAsync(T value, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
T | value | The apparent value (typically the return value of the cached method). |
System.Threading.CancellationToken | cancellationToken | A System.Threading.CancellationToken. |
Returns
Type | Description |
---|---|
Task<Object> | A System.Threading.Tasks.Task returning a cacheable object. |