{"action":"created","issue":{"url":"https://api.github.com/repos/kastiglione/Parse-RACExtensions/issues/26","labels_url":"https://api.github.com/repos/kastiglione/Parse-RACExtensions/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/kastiglione/Parse-RACExtensions/issues/26/comments","events_url":"https://api.github.com/repos/kastiglione/Parse-RACExtensions/issues/26/events","html_url":"https://github.com/kastiglione/Parse-RACExtensions/issues/26","id":59734877,"number":26,"title":"-[PFObject saveEventually] does not necessarily complete at a sensible time; misleading API","user":{"login":"fatuhoku","id":430233,"avatar_url":"https://avatars.githubusercontent.com/u/430233?v=3","gravatar_id":"","url":"https://api.github.com/users/fatuhoku","html_url":"https://github.com/fatuhoku","followers_url":"https://api.github.com/users/fatuhoku/followers","following_url":"https://api.github.com/users/fatuhoku/following{/other_user}","gists_url":"https://api.github.com/users/fatuhoku/gists{/gist_id}","starred_url":"https://api.github.com/users/fatuhoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatuhoku/subscriptions","organizations_url":"https://api.github.com/users/fatuhoku/orgs","repos_url":"https://api.github.com/users/fatuhoku/repos","events_url":"https://api.github.com/users/fatuhoku/events{/privacy}","received_events_url":"https://api.github.com/users/fatuhoku/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-04T01:09:08Z","updated_at":"2015-03-04T22:49:05Z","closed_at":null,"body":"Since I thought `-saveEventually` is supposed to return more or less synchronously, I thought that the RAC extension `rac_saveEventually` would also complete within reasonable time.\r\n\r\nThis is not the case. `-rac_saveEventually` is implemented with `-saveEventually:`, whose parameter is a callback function.\r\n\r\nThe callback function is, in fact, never called if the save has not succeeded yet. Thus, this signal never actually completes. This is very odd behaviour and I think we should remove `-rac_saveEventually` from the API for now, since it represents a signal that could take a long time to complete."},"comment":{"url":"https://api.github.com/repos/kastiglione/Parse-RACExtensions/issues/comments/77267687","html_url":"https://github.com/kastiglione/Parse-RACExtensions/issues/26#issuecomment-77267687","issue_url":"https://api.github.com/repos/kastiglione/Parse-RACExtensions/issues/26","id":77267687,"user":{"login":"fatuhoku","id":430233,"avatar_url":"https://avatars.githubusercontent.com/u/430233?v=3","gravatar_id":"","url":"https://api.github.com/users/fatuhoku","html_url":"https://github.com/fatuhoku","followers_url":"https://api.github.com/users/fatuhoku/followers","following_url":"https://api.github.com/users/fatuhoku/following{/other_user}","gists_url":"https://api.github.com/users/fatuhoku/gists{/gist_id}","starred_url":"https://api.github.com/users/fatuhoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatuhoku/subscriptions","organizations_url":"https://api.github.com/users/fatuhoku/orgs","repos_url":"https://api.github.com/users/fatuhoku/repos","events_url":"https://api.github.com/users/fatuhoku/events{/privacy}","received_events_url":"https://api.github.com/users/fatuhoku/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T22:49:05Z","updated_at":"2015-03-04T22:49:05Z","body":"@kastiglione yes I think that is a good idea — it's the solution I've gone with for now.\r\n\r\nWe must also be clear that timing out with `-timeout:onScheduler:` does not actually abort the `-saveEventually` operation happening on the background; it merely cuts the signal short. I think at present there's no way to 'cancel' a pending `-saveEventually`, so we're forced, by the Parse SDK, to be in a state of not knowing whether the save succeeded or not."}}