NeoSmart.AsyncLock 3.2.0-preview1

Prefix Reserved
This is a prerelease version of NeoSmart.AsyncLock.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NeoSmart.AsyncLock --version 3.2.0-preview1                
NuGet\Install-Package NeoSmart.AsyncLock -Version 3.2.0-preview1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NeoSmart.AsyncLock" Version="3.2.0-preview1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NeoSmart.AsyncLock --version 3.2.0-preview1                
#r "nuget: NeoSmart.AsyncLock, 3.2.0-preview1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NeoSmart.AsyncLock as a Cake Addin
#addin nuget:?package=NeoSmart.AsyncLock&version=3.2.0-preview1&prerelease

// Install NeoSmart.AsyncLock as a Cake Tool
#tool nuget:?package=NeoSmart.AsyncLock&version=3.2.0-preview1&prerelease                

A C# lock replacement for async/await, supporting recursion/re-entrance and asynchronous waits. Handles async recursion correctly - note that Nito.AsyncEx does not!

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (19)

Showing the top 5 NuGet packages that depend on NeoSmart.AsyncLock:

Package Downloads
ZayniFramework.Common

Common used C# .NET libraries such as configuration management, extensions API, dynamic object libraries API, reflection libraries, AOP interceptors, delegate invokers, TaskQueue, AsyncWorker... etc. It also provides common used IResult interface, dynamic BaseResult class and built-in ConsoleCommandService with ICommand interface. GitLab Repository: https://gitlab.com/ponylin1985/zayniframework

Mindbox.EasyCaching.InMemory

A simple in-memory caching provider.

Mindbox.EasyCaching.Redis

A simple distributed caching provider based on StackExchange.Redis.

NeoSmart.Synchronization

Assorted async-friendly mutexes and locks. Includes a scoped mutex (ScopedMutex) for cross-platform key-based locking, async countdown event (CountdownEvent), and others.

IRO.Storage

Simple key-value storage for client applications.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NeoSmart.AsyncLock:

Repository Stars
BartoszCichecki/LenovoLegionToolkit
Lightweight Lenovo Vantage and Hotkeys replacement for Lenovo Legion laptops.
Version Downloads Last updated
3.2.1 2,563,477 1/10/2022
3.2.0 20,682 12/15/2021
3.2.0-preview2 1,146 10/29/2021
3.2.0-preview1 776 10/18/2021
3.1.0 133,167 4/29/2021
3.1.0-BETA1 1,167 2/17/2021
3.0.1 35,802 12/18/2020
3.0.0 1,225 12/15/2020
0.3.0.2 593,947 5/17/2017
0.3.0.1 1,513 5/17/2017
0.3.0 1,614 5/17/2017
0.2.0 1,499 5/16/2017
0.1.0 1,889 5/14/2017

3.0: Smarter method of detecting recursion for faster and more-reliable locking on all platforms.

3.1: Added synchronous locking that may be intermixed with async locking.

3.2: Added TryLock() and TryLockAsync() methods.