I totally agree with Ward Bell
If you're interested in how to do this : for example, in an angular application, you can subscribe to a break essence tracking mechanism, like this

You can then configure your SignlarR hub somewhere else to pass these changes on to all clients.
However, perhaps because of the power of breeze.js, I would not recommend it because, as Ward said, "it will be a fire hose spraying a huge amount of data from customer subscribers." Think for a moment, and think that your application will have hmmm. It allows you to tell 30 simultaneous users making transactions to present all the network traffic that it will create. It will be a bad software architecture.
The only reason you can do this is to update your dashboard, which is powered by live data, but still you need to be more concise, attentive, conscious, aware of data traffic and server usage.
function setupEventForHasChangesChanged() { EntityManager.hasChangesChanged.subscribe(function (eventArgs) { $rootScope.$emit('dataservice.hasChangesChanged', eventArgs); }); } function setupEventForEntitiesChanged() { EntityManager.entityChanged.subscribe(function (changeArgs) { if (changeArgs.entityAction === breeze.EntityAction.PropertyChange) { $rootScope.$emit('dataservice.entitiesChanged', changeArgs); } }); }
Oscar agreda
source share