Achievements: Drain outstanding requests when switching games
Stops data being lost when loading state due to data not being downloaded yet.
This commit is contained in:
@@ -64,6 +64,8 @@ public:
|
||||
|
||||
void CreateRequest(std::string url, Request::Callback callback);
|
||||
void CreatePostRequest(std::string url, std::string post_data, Request::Callback callback);
|
||||
|
||||
bool HasAnyRequests();
|
||||
void PollRequests();
|
||||
void WaitForAllRequests();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user