Please sign in to comment.
Handling parallel requests
Summary: Current SDK doesn't support multiple requests at the same time. To change this I added a new container to the Facebook class that stores all the requests. Whenever the request finishes it's work (by loading the response or by returning an error) we remove it from the container. Since FBRequests are autorelased they will be deleted at the end of the event loop. Test Plan: Check if the app works + tried to call the GetMe API method twice. Reviewers: yariv, toddkrabach, jonathan Reviewed By: toddkrabach CC: yariv, toddkrabach, jonathan, jimbru, lshepard, jgabbard, kamil Differential Revision: 378930
- Loading branch information...
Showing with 68 additions and 36 deletions.