Skip to content

PulseSharpEvents and jobs for .NET

Lightweight and durable - from the device to the cloud. Write a handler once, run it in a desktop app or on a server farm.

PulseSharpPulseSharp

A quick look ​

bash
dotnet add package PulseSharp.Sqlite --prerelease
csharp
builder.Services.AddPulseSharp(pulse =>
{
    pulse.UseSqlite("app.db");
    pulse.On<SaleCompleted>("receipts", async (sale, context, ct) => await PrintReceipt(sale, ct));
    pulse.OnJob<ExportReport>(async (report, context, ct) => await Export(report, ct));
});

await pulse.Emit(new SaleCompleted(sale.Id, sale.Total));
await pulse.Enqueue(new ExportReport(today));

Preview

PulseSharp is in preview. Events, jobs and device to cloud sync work with the SQLite and PostgreSQL stores today; see the roadmap. The API may change before 1.0.

Released under the MIT License.