{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/1942","labels_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/1942/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/1942/comments","events_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/1942/events","html_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1942","id":71149922,"number":1942,"title":"Guarantee to update refresh control on main thread","user":{"login":"liyihe96","id":5056640,"avatar_url":"https://avatars.githubusercontent.com/u/5056640?v=3","gravatar_id":"","url":"https://api.github.com/users/liyihe96","html_url":"https://github.com/liyihe96","followers_url":"https://api.github.com/users/liyihe96/followers","following_url":"https://api.github.com/users/liyihe96/following{/other_user}","gists_url":"https://api.github.com/users/liyihe96/gists{/gist_id}","starred_url":"https://api.github.com/users/liyihe96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyihe96/subscriptions","organizations_url":"https://api.github.com/users/liyihe96/orgs","repos_url":"https://api.github.com/users/liyihe96/repos","events_url":"https://api.github.com/users/liyihe96/events{/privacy}","received_events_url":"https://api.github.com/users/liyihe96/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-27T01:48:05Z","updated_at":"2015-04-27T05:13:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/1942","html_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1942","diff_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1942.diff","patch_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1942.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/comments/96509461","html_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1942#issuecomment-96509461","issue_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/1942","id":96509461,"user":{"login":"liyihe96","id":5056640,"avatar_url":"https://avatars.githubusercontent.com/u/5056640?v=3","gravatar_id":"","url":"https://api.github.com/users/liyihe96","html_url":"https://github.com/liyihe96","followers_url":"https://api.github.com/users/liyihe96/followers","following_url":"https://api.github.com/users/liyihe96/following{/other_user}","gists_url":"https://api.github.com/users/liyihe96/gists{/gist_id}","starred_url":"https://api.github.com/users/liyihe96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyihe96/subscriptions","organizations_url":"https://api.github.com/users/liyihe96/orgs","repos_url":"https://api.github.com/users/liyihe96/repos","events_url":"https://api.github.com/users/liyihe96/events{/privacy}","received_events_url":"https://api.github.com/users/liyihe96/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T05:13:46Z","updated_at":"2015-04-27T05:13:46Z","body":"Isn't that line of code used to deliver `executionSignals` on main thread but not the return value of `-execute:`? Sorry, I am not that familiar with ReactiveCocoa yet, if I am wrong. But when I checked if the subscription block is invoked on main thread using `[NSThread isMainThread]`, it gives me NO.\r\n\r\n    RACDisposable *executionDisposable = [[[[self\r\n\t\trac_signalForControlEvents:UIControlEventValueChanged]\r\n\t\tmap:^(UIRefreshControl *x) {\r\n\t\t\treturn [[[command\r\n\t\t\t\texecute:x]\r\n\t\t\t\tcatchTo:[RACSignal empty]]\r\n\t\t\t\tthen:^{\r\n\t\t\t\t\treturn [RACSignal return:x];\r\n\t\t\t\t}];\r\n\t\t}]\r\n\t\tconcat]\r\n\t\tsubscribeNext:^(UIRefreshControl *x) {\r\n            NSLog(@\"Is on main thread: %d\",[NSThread isMainThread]);\r\n\t\t\t[x endRefreshing];\r\n\t\t}];\r\n   \r\n    // output\r\n    // Is on main thread: 0\r\n"}}