Lightweight
The contracts package has zero dependencies. The engine needs only the Microsoft.Extensions abstractions. Add only what you use.
Lightweight and durable - from the device to the cloud. Write a handler once, run it in a desktop app or on a server farm.
dotnet add package PulseSharp.Sqlite --prereleasebuilder.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.