Naravel.Events.Queue 0.2.0

dotnet add package Naravel.Events.Queue --version 0.2.0
                    
NuGet\Install-Package Naravel.Events.Queue -Version 0.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Naravel.Events.Queue" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Naravel.Events.Queue" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Naravel.Events.Queue" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Naravel.Events.Queue --version 0.2.0
                    
#r "nuget: Naravel.Events.Queue, 0.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Naravel.Events.Queue@0.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Naravel.Events.Queue&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Naravel.Events.Queue&version=0.2.0
                    
Install as a Cake Tool

Naravel.Events.Queue

NuGet Downloads .NET 10 License: MIT

Optional Naravel.Events adapter for running selected event listeners through Naravel.Queue.

Fact Detail
Install dotnet add package Naravel.Events.Queue
Targets .NET 10
Needs Naravel.Events and Naravel.Queue, which NuGet installs with it
Runs on a Naravel.Queue driver and a worker that you register

What you get

  • Opt in per listener. AddQueuedEventListener<OrderPaid, SendReceipt>(...) moves just that listener to a queue worker.
  • A stable alias, not a type name. The worker finds the listener by the alias you register, and no CLR type is read from queued data.
  • Placement per listener. o => o.OnConnection("redis").OnQueue("mail").WithMaxAttempts(5) picks the connection, the queue and the attempts.
  • Trimming and Native AOT. Pass source-generated JSON metadata, such as MyJsonContext.Default.OrderPaid, instead of reflection-based serialization.

Quick start

builder.Services.AddNaravelEventsQueue();
builder.Services.AddQueuedEventListener<OrderPaid, SendReceipt>("order-paid.receipt");

The listener runs later on a queue worker, at least once, so make it idempotent. By default the job goes to the default queue connection and the default queue, so run a worker that consumes them.

Package Adds
Naravel.Events The event dispatcher whose listeners this adapter can queue
Naravel.Queue Jobs, retries and the background worker that run the queued listener

Learn more

Part of Naravel: Laravel's names, .NET's type system. All Naravel packages share one version.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2.0 95 11/13/2026
0.1.1 102 11/2/2026
0.1.0 108 11/1/2026