![]() |
VOOZH | about |
dotnet add package Sanet.Transport.Channel --version 1.1.0
NuGet\Install-Package Sanet.Transport.Channel -Version 1.1.0
<PackageReference Include="Sanet.Transport.Channel" Version="1.1.0" />
<PackageVersion Include="Sanet.Transport.Channel" Version="1.1.0" />Directory.Packages.props
<PackageReference Include="Sanet.Transport.Channel" />Project file
paket add Sanet.Transport.Channel --version 1.1.0
#r "nuget: Sanet.Transport.Channel, 1.1.0"
#:package Sanet.Transport.Channel@1.1.0
#addin nuget:?package=Sanet.Transport.Channel&version=1.1.0Install as a Cake Addin
#tool nuget:?package=Sanet.Transport.Channel&version=1.1.0Install as a Cake Tool
System.Threading.Channels implementation of the Sanet.Transport abstractions.
Sanet.Transport.Channel provides an implementation of the ITransportPublisher interface using System.Threading.Channels, enabling high-performance message passing with back-pressure support.
dotnet add package Sanet.Transport.Channel
Or via the Package Manager Console:
Install-Package Sanet.Transport.Channel
// Create a Channel transport publisher
ITransportPublisher publisher = new ChannelTransportPublisher();
// Subscribe to messages
publisher.Subscribe(message => {
Console.WriteLine($"Received message: {message.CommandType}");
// Process the message
});
// Publish a message
publisher.PublishMessage(new TransportMessage {
CommandType = "SomeCommand",
SourceId = Guid.NewGuid(),
Payload = "{\"key\": \"value\"}",
Timestamp = DateTime.UtcNow
});
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.