model-locking
model-locking copied to clipboard
Added the ability to disable broadcasting
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.
+1 deleting mine, this would be awesome to see merged
@jarektkaczyk Any chance we could get this one merged? Is not a breaking change in any way and it would be really helpful
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 :)