{"action":"created","issue":{"url":"https://api.github.com/repos/bignerdranch/Deferred/issues/5","labels_url":"https://api.github.com/repos/bignerdranch/Deferred/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/bignerdranch/Deferred/issues/5/comments","events_url":"https://api.github.com/repos/bignerdranch/Deferred/issues/5/events","html_url":"https://github.com/bignerdranch/Deferred/pull/5","id":87120995,"number":5,"title":"Make non-final so Deferred can be extended","user":{"login":"wesj","id":1117644,"avatar_url":"https://avatars.githubusercontent.com/u/1117644?v=3","gravatar_id":"","url":"https://api.github.com/users/wesj","html_url":"https://github.com/wesj","followers_url":"https://api.github.com/users/wesj/followers","following_url":"https://api.github.com/users/wesj/following{/other_user}","gists_url":"https://api.github.com/users/wesj/gists{/gist_id}","starred_url":"https://api.github.com/users/wesj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesj/subscriptions","organizations_url":"https://api.github.com/users/wesj/orgs","repos_url":"https://api.github.com/users/wesj/repos","events_url":"https://api.github.com/users/wesj/events{/privacy}","received_events_url":"https://api.github.com/users/wesj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-10T21:56:23Z","updated_at":"2015-06-18T21:05:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bignerdranch/Deferred/pulls/5","html_url":"https://github.com/bignerdranch/Deferred/pull/5","diff_url":"https://github.com/bignerdranch/Deferred/pull/5.diff","patch_url":"https://github.com/bignerdranch/Deferred/pull/5.patch"},"body":"We have some db operations that return Deferreds. I wanted to make them cancellable, so I really wanted to return a Deferred with a cancel method that could call sqlite3_interrupt() when called. Unfortunately, Deferred is final, so you can't override it. I'm guessing you really want that, but wanted to forward the changes in case you wanted them."},"comment":{"url":"https://api.github.com/repos/bignerdranch/Deferred/issues/comments/113289975","html_url":"https://github.com/bignerdranch/Deferred/pull/5#issuecomment-113289975","issue_url":"https://api.github.com/repos/bignerdranch/Deferred/issues/5","id":113289975,"user":{"login":"wesj","id":1117644,"avatar_url":"https://avatars.githubusercontent.com/u/1117644?v=3","gravatar_id":"","url":"https://api.github.com/users/wesj","html_url":"https://github.com/wesj","followers_url":"https://api.github.com/users/wesj/followers","following_url":"https://api.github.com/users/wesj/following{/other_user}","gists_url":"https://api.github.com/users/wesj/gists{/gist_id}","starred_url":"https://api.github.com/users/wesj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesj/subscriptions","organizations_url":"https://api.github.com/users/wesj/orgs","repos_url":"https://api.github.com/users/wesj/repos","events_url":"https://api.github.com/users/wesj/events{/privacy}","received_events_url":"https://api.github.com/users/wesj/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T21:05:48Z","updated_at":"2015-06-18T21:05:48Z","body":"I haven't written a ton of it. Just some wrappers and operators around Deferred<Result<()>> I thought, but I do see some more utility functions that have slipped in :)\r\nhttps://github.com/mozilla/firefox-ios/blob/master/Utils/DeferredUtils.swift"}}