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