Skip to content

Commit 0b24c65

Browse files
authored
Fix overload in readme
Remove reference to deprecated overload from readme
1 parent 5bd2bba commit 0b24c65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Usage:
6868

6969
```csharp
7070
string productId = // ... from somewhere
71-
string productDescription = await cachePolicy.ExecuteAsync(() => getProductDescription(productId),
71+
string productDescription = await cachePolicy.ExecuteAsync(context => getProductDescription(productId),
7272
new Context(productId) // productId will also be the cache key used in this execution.
7373
);
7474
```

0 commit comments

Comments
 (0)