iLuk Posted March 17, 2016 Report Share Posted March 17, 2016 Hi, I would like to know what is the fastest way to get notifications from Steam. Should I use: "steam": client, or set pollInterval: "pollInterval": 1000 If so then how low can I go? Maybe both? Sorry if I said something incorrect. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted March 18, 2016 Report Share Posted March 18, 2016 Using the Steam client is the fastest way to get notifications, but you still need polling to make sure you get everything (Steam doesn't send notifications when offers you send in which you receive no items are accepted, for example). Polling every second is overkill, but is possible. Quote Link to comment Share on other sites More sharing options...
iLuk Posted March 18, 2016 Author Report Share Posted March 18, 2016 Thanks for the answer, it explains a lot for me! Am I right that I also don't get notifications from Steam client about "receivedOfferChanged"?And polling every 5 000 ms is ok with Steam? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted March 19, 2016 Report Share Posted March 19, 2016 The only receivedOfferChanged notification is for an active received offer going into another state (decrement of "pending active offers" notification count). 5 seconds should be okay. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.