From 6ed0e2c14ca3fd1a07be5c384e243627442fe09e Mon Sep 17 00:00:00 2001 From: Martin Obratil Date: Mon, 15 Jan 2024 22:53:23 +0100 Subject: [PATCH] Update thread-safety note in docs --- src/Libraries/Microsoft.AspNetCore.AsyncState/README.md | 2 +- src/Libraries/Microsoft.Extensions.AsyncState/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Libraries/Microsoft.AspNetCore.AsyncState/README.md b/src/Libraries/Microsoft.AspNetCore.AsyncState/README.md index ec93c727704..5bce6aa3a99 100644 --- a/src/Libraries/Microsoft.AspNetCore.AsyncState/README.md +++ b/src/Libraries/Microsoft.AspNetCore.AsyncState/README.md @@ -5,7 +5,7 @@ This provides the ability to store and retrieve state objects that flow with the The lifetime of the shared data is controlled automatically and will be the same as of `HttpContext`. > [!NOTE] -> Please note, the implementation of `IAsyncContext` is not designed to be thread-safe. +> Please note, the implementation of `IAsyncContext` provided by this library is not thread-safe. ## Install the package diff --git a/src/Libraries/Microsoft.Extensions.AsyncState/README.md b/src/Libraries/Microsoft.Extensions.AsyncState/README.md index 57b93fdc4e1..46a0c434d61 100644 --- a/src/Libraries/Microsoft.Extensions.AsyncState/README.md +++ b/src/Libraries/Microsoft.Extensions.AsyncState/README.md @@ -7,7 +7,7 @@ It has a few advantages over using the [`AsyncLocal`](https://learn.microsoft - Provides a way to manage the lifetime of the ambient data objects. > [!NOTE] -> Please note, the implementations of `IAsyncState` and `IAsyncContext` are not designed to be thread-safe. +> Please note, the implementations of `IAsyncState` and `IAsyncContext` are not thread-safe. ## Install the package