EightyDecibel.AsyncNats 0.8.1

There is a newer version of this package available.
See the version list below for details.
Install-Package EightyDecibel.AsyncNats -Version 0.8.1
dotnet add package EightyDecibel.AsyncNats --version 0.8.1
<PackageReference Include="EightyDecibel.AsyncNats" Version="0.8.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EightyDecibel.AsyncNats --version 0.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EightyDecibel.AsyncNats, 0.8.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.1

// Install EightyDecibel.AsyncNats as a Cake Tool
#tool nuget:?package=EightyDecibel.AsyncNats&version=0.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release history

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)

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
0.8.5 121 2/5/2021
0.8.4 243 10/30/2020
0.8.3 281 7/28/2020
0.8.2 194 7/28/2020
0.8.1 185 7/27/2020
0.8.0 184 7/24/2020
0.7.1 214 7/6/2020
0.7.0 325 7/6/2020
0.6.5 167 6/30/2020
0.6.4 232 2/24/2020
0.6.3 207 2/5/2020
0.6.2 224 2/5/2020
0.6.0 208 1/31/2020
0.5.1 232 11/10/2019
0.5.0 233 11/8/2019
0.4.0 226 10/20/2019
0.3.0 224 10/17/2019
0.2.0 223 10/16/2019
0.1.0 256 10/16/2019