SuperSimplePubSub 1.1.0
PubSub the easiest way possible. Look here:
string test = " world";
// let's define a subscriber
Action<object> hi = (ob) => { Console.WriteLine("hi" + ob); };
// let's subscribe
Pub.Sub["hello"] = hi;
// lets publish test on hello channel
Pub.Sub["hello"](test);
// now let's remove our subscriber
Pub.Sub.Remove("hello", hi);
// EASY
Install-Package SuperSimplePubSub -Version 1.1.0
dotnet add package SuperSimplePubSub --version 1.1.0
<PackageReference Include="SuperSimplePubSub" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SuperSimplePubSub --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SuperSimplePubSub, 1.1.0"
#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 SuperSimplePubSub as a Cake Addin
#addin nuget:?package=SuperSimplePubSub&version=1.1.0
// Install SuperSimplePubSub as a Cake Tool
#tool nuget:?package=SuperSimplePubSub&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dependencies
This package has no dependencies.
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.