In general I would recommend the ‘register’ approach rather than polling. You’ll get notification as soon as the change happens and does not un-necessary processing because of the polling.
In general I would recommend the ‘register’ approach rather than polling. You’ll get notification as soon as the change happens and does not un-necessary processing because of the polling.