EightyDecibel.AsyncNats
0.8.3
.NET Standard 2.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EightyDecibel.AsyncNats --version 0.8.3
NuGet\Install-Package EightyDecibel.AsyncNats -Version 0.8.3
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="EightyDecibel.AsyncNats" Version="0.8.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EightyDecibel.AsyncNats --version 0.8.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EightyDecibel.AsyncNats, 0.8.3"
#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 EightyDecibel.AsyncNats as a Cake Addin
#addin nuget:?package=EightyDecibel.AsyncNats&version=0.8.3
// Install EightyDecibel.AsyncNats as a Cake Tool
#tool nuget:?package=EightyDecibel.AsyncNats&version=0.8.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
v0.8.3
- Publish (PUB) was reserving one byte too much when payload was 9, 99, 999, 9999, 99999, 999999 bytes large
- Unsubscribe (UNSUB) was reserving one byte too much when max messages was 9, 99, 999, 9999, 99999, 999999
v0.8.2
- Refactored Subscribe a little bit
- Added a missing memory-rent which could corrupt memory in high message volumes
- Changed from ArrayPool to a custom MemoryPool to improve overal performance
v0.8.1
- Upgraded dependencies
- Fixed a small issue with System.IO.Pipelines
v0.8.0
- Breaking change: Rewrote subscriptions to make them a bit easier to use
- Breaking change: Removed "SubscribeAll", it made the process loop more difficult and wasn't of much use
- Slightly increased performance of message process loop
- The RPC Server proxy would eat exceptions if tasks got executed by the task scheduler/factory
- All deserialize and RPC server exceptions are now passed to ConnectionException event handler
v0.7.1
- Pipe did not support multiple simultaneous WriteAsync's, rewrote to use Channel instead with an internal 1Mb socket buffer (it's actually faster)
v0.7.0
- Reduced amount of queue's inside the connection
- Made amount of queue'd bytes visible in SenderQueueSize and ReceiverQueueSize properties
- Added CancellationToken to internal publish methods
v0.6.5
- Fixed an issue where the send/receive loop task would get executed synchroniously instead of asynchroniously
v0.6.4
- Added optional TaskScheduler parameter to StartContractServer to make the "Server" run task concurrently
- Added CancellationToken to all Async methods
v0.6.3
- Added fire and forget methods (add NatsFireAndForget attribute to the methods), the caller doesn't wait for an answer. Note, exceptions thrown inside fire and forget methods will be lost!
- An exception will be thrown when ValueTask is used as a contract type
v0.6.2
- Updated InterfaceAsyncNatsSample to use a custom serializer (MessagePack)
- Fixed an issue when MessagePack was used as serializer (and possible others)
- Added DataContract / DataMember attributes to request/response classes used by the RPC functionality to aid MessagePack (and possible others)
v0.6.1
- Forgot to add StartContractServer to the interface
- Dispose the contract server channel once done (due to cancellation or exception)
v0.6
- Added RPC functionality using interface contracts (see InterfaceAsyncNatsSample)
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.1 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- System.IO.Pipelines (>= 4.7.2)
- System.Text.Json (>= 4.7.2)
- System.Threading.Channels (>= 4.7.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.0.5 | 180 | 1/23/2023 | |
1.0.4 | 178 | 1/18/2023 | |
1.0.2 | 330 | 8/23/2022 | |
1.0.1 | 282 | 8/23/2022 | |
1.0.0 | 281 | 7/21/2022 | |
0.8.5 | 572 | 2/5/2021 | |
0.8.4 | 408 | 10/30/2020 | |
0.8.3 | 451 | 7/28/2020 | |
0.8.2 | 366 | 7/28/2020 | |
0.8.1 | 351 | 7/27/2020 | |
0.8.0 | 345 | 7/24/2020 | |
0.7.1 | 360 | 7/6/2020 | |
0.7.0 | 503 | 7/6/2020 | |
0.6.5 | 327 | 6/30/2020 | |
0.6.4 | 382 | 2/24/2020 | |
0.6.3 | 362 | 2/5/2020 | |
0.6.2 | 382 | 2/5/2020 | |
0.6.0 | 369 | 1/31/2020 | |
0.5.1 | 405 | 11/10/2019 | |
0.5.0 | 400 | 11/8/2019 | |
0.4.0 | 395 | 10/20/2019 | |
0.3.0 | 380 | 10/17/2019 | |
0.2.0 | 397 | 10/16/2019 | |
0.1.0 | 417 | 10/16/2019 |