Coravel v2.1.0 Release Notes
Release Date: 2018-11-01 // over 5 years ago-
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));