Skip to content

2.1.0

Choose a tag to compare

@jamesmh jamesmh released this 01 Nov 11:32
· 248 commits to master since this release

Broadcast Events In Background Queue

Event broadcasting is great - but what if your event listeners are doing some heavy / long-winded tasks?

Using QueueBroadcast you can queue an event to be broadcasted in the background so your app can continue to be responsive.

// This will broadcast the event whenever the queue is consummed in the background.
this._queue.QueueBroadcast(new OrderCreated(orderId));