model-locking icon indicating copy to clipboard operation
model-locking copied to clipboard

Added the ability to disable broadcasting

Open luisdalmolin opened this issue 6 years ago • 3 comments

Laravel has a new handy broadcastWhen method (https://laravel.com/docs/5.8/broadcasting#broadcast-conditions), which lets you control if you really want to broadcast even you are implementing the interface.

This PR implements this method and a config value, so you can disable broadcasting where you don't want.

luisdalmolin avatar Aug 23 '19 10:08 luisdalmolin

+1 deleting mine, this would be awesome to see merged

jakedowns avatar Dec 11 '19 00:12 jakedowns

@jarektkaczyk Any chance we could get this one merged? Is not a breaking change in any way and it would be really helpful

luisdalmolin avatar Nov 26 '20 14:11 luisdalmolin

just chiming in to say that here in march 2021, this would still be helpful to have. i'm getting a The data content of this event exceeds the allowed maximum (10240 bytes) error for an event i don't even want to broadcast :)

jakedowns avatar Mar 09 '21 05:03 jakedowns