Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit b2a4d70

Browse files
committed
Update README.md
1 parent 186a977 commit b2a4d70

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ A more detailed list of the available RedisClient APIs used in the example can b
224224

225225
### Async Redis
226226

227-
Async support in ServiceStack.Redis is available to .NET Core (**.NET Standard 2.0**) or **.NET Framework v4.7.2+** projects where there's async API equivalents for most sync APIs as contained within the Async Redis interfaces below:
227+
The async support in ServiceStack.Redis is designed for optimal efficiency and uses `ValueTask` & other modern Async APIs only available in **.NET Standard 2.0** and **.NET Framework v4.7.2+** projects where there's async API equivalents for most sync APIs as contained within the Async Redis interfaces below:
228228

229229
- [IRedisClientsManagerAsync](https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Interfaces/Redis/IRedisClientsManagerAsync.cs)
230230
- [IRedisClientAsync](https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Interfaces/Redis/IRedisClientAsync.cs)
@@ -272,8 +272,6 @@ using var syncRedis = container.Resolve<IRedisClientsManager>().GetClient();
272272
await using var asyncRedis = await container.Resolve<IRedisClientsManager>().GetClientAsync();
273273
```
274274

275-
The async support in ServiceStack.Redis is designed for optimal efficiency and uses `ValueTask` & other modern Async APIs.
276-
277275
If you want to force async-only API usage could choose to just register `IRedisClientsManagerAsync` where it only lets you resolve async only `IRedisClientAsync` and `ICacheClientAsync` clients, e.g:
278276

279277
```csharp

0 commit comments

Comments
 (0)