Skip to content

Commit

Permalink
Update thread-safety note in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Obratil committed Jan 15, 2024
1 parent 0800989 commit 6ed0e2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Libraries/Microsoft.AspNetCore.AsyncState/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>` is not designed to be thread-safe.
> Please note, the implementation of `IAsyncContext<T>` provided by this library is not thread-safe.
## Install the package

Expand Down
2 changes: 1 addition & 1 deletion src/Libraries/Microsoft.Extensions.AsyncState/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ It has a few advantages over using the [`AsyncLocal<T>`](https://learn.microsoft
- Provides a way to manage the lifetime of the ambient data objects.

> [!NOTE]
> Please note, the implementations of `IAsyncState` and `IAsyncContext<T>` are not designed to be thread-safe.
> Please note, the implementations of `IAsyncState` and `IAsyncContext<T>` are not thread-safe.
## Install the package

Expand Down

0 comments on commit 6ed0e2c

Please sign in to comment.