{"action":"created","comment":{"url":"https://api.github.com/repos/atom/atom/pulls/comments/41785125","id":41785125,"diff_hunk":"@@ -15,6 +15,8 @@ class PaneContainer extends Model\n   @version: 1\n \n   root: null\n+  stoppedChangingActivePaneItemDelay: 100","path":"src/pane-container.coffee","position":4,"original_position":4,"commit_id":"41984a2317d64ea30c450075cceae0bd6f78afea","original_commit_id":"1c3d57877cd42702340af0a1ac75fa0858684e37","user":{"login":"maxbrunsfeld","id":326587,"avatar_url":"https://avatars.githubusercontent.com/u/326587?v=3","gravatar_id":"","url":"https://api.github.com/users/maxbrunsfeld","html_url":"https://github.com/maxbrunsfeld","followers_url":"https://api.github.com/users/maxbrunsfeld/followers","following_url":"https://api.github.com/users/maxbrunsfeld/following{/other_user}","gists_url":"https://api.github.com/users/maxbrunsfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/maxbrunsfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxbrunsfeld/subscriptions","organizations_url":"https://api.github.com/users/maxbrunsfeld/orgs","repos_url":"https://api.github.com/users/maxbrunsfeld/repos","events_url":"https://api.github.com/users/maxbrunsfeld/events{/privacy}","received_events_url":"https://api.github.com/users/maxbrunsfeld/received_events","type":"User","site_admin":true},"body":"I think 100ms is a good starting point. We can adjust it once we start using this method in packages.","created_at":"2015-10-12T18:18:46Z","updated_at":"2015-10-12T18:18:46Z","html_url":"https://github.com/atom/atom/pull/9029#discussion_r41785125","pull_request_url":"https://api.github.com/repos/atom/atom/pulls/9029","_links":{"self":{"href":"https://api.github.com/repos/atom/atom/pulls/comments/41785125"},"html":{"href":"https://github.com/atom/atom/pull/9029#discussion_r41785125"},"pull_request":{"href":"https://api.github.com/repos/atom/atom/pulls/9029"}}},"pull_request":{"url":"https://api.github.com/repos/atom/atom/pulls/9029","id":46664841,"html_url":"https://github.com/atom/atom/pull/9029","diff_url":"https://github.com/atom/atom/pull/9029.diff","patch_url":"https://github.com/atom/atom/pull/9029.patch","issue_url":"https://api.github.com/repos/atom/atom/issues/9029","number":9029,"state":"open","locked":false,"title":"Add `onDidStopChangingActivePaneItem` for async callbacks","user":{"login":"ssorallen","id":29612,"avatar_url":"https://avatars.githubusercontent.com/u/29612?v=3","gravatar_id":"","url":"https://api.github.com/users/ssorallen","html_url":"https://github.com/ssorallen","followers_url":"https://api.github.com/users/ssorallen/followers","following_url":"https://api.github.com/users/ssorallen/following{/other_user}","gists_url":"https://api.github.com/users/ssorallen/gists{/gist_id}","starred_url":"https://api.github.com/users/ssorallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssorallen/subscriptions","organizations_url":"https://api.github.com/users/ssorallen/orgs","repos_url":"https://api.github.com/users/ssorallen/repos","events_url":"https://api.github.com/users/ssorallen/events{/privacy}","received_events_url":"https://api.github.com/users/ssorallen/received_events","type":"User","site_admin":false},"body":"`onDidChangeActivePaneItem` is called synchronously when the active pane\r\nitem changes, and several non-critical actions preform work on that\r\nevent. Critical UI feedback, like changing the active tab, needs to\r\nhappen synchronously, but most other functionality should be run\r\nasynchronously.\r\n\r\nThe code follows the same naming scheme and design pattern as\r\n[`TextBuffer::onDidStopChanging`](https://github.com/atom/text-buffer/blob/v7.1.2/src/text-buffer.coffee#L184), which is exposed as\r\n`TextEditor::onDidStopChanging`.\r\n\r\nFixes #8997.","created_at":"2015-10-02T18:11:42Z","updated_at":"2015-10-12T18:18:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d1bed48fca2ed3cc18a98b0484b0ac66b534bea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atom/atom/pulls/9029/commits","review_comments_url":"https://api.github.com/repos/atom/atom/pulls/9029/comments","review_comment_url":"https://api.github.com/repos/atom/atom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atom/atom/issues/9029/comments","statuses_url":"https://api.github.com/repos/atom/atom/statuses/41984a2317d64ea30c450075cceae0bd6f78afea","head":{"label":"ssorallen:stop-changing-active-pane","ref":"stop-changing-active-pane","sha":"41984a2317d64ea30c450075cceae0bd6f78afea","user":{"login":"ssorallen","id":29612,"avatar_url":"https://avatars.githubusercontent.com/u/29612?v=3","gravatar_id":"","url":"https://api.github.com/users/ssorallen","html_url":"https://github.com/ssorallen","followers_url":"https://api.github.com/users/ssorallen/followers","following_url":"https://api.github.com/users/ssorallen/following{/other_user}","gists_url":"https://api.github.com/users/ssorallen/gists{/gist_id}","starred_url":"https://api.github.com/users/ssorallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssorallen/subscriptions","organizations_url":"https://api.github.com/users/ssorallen/orgs","repos_url":"https://api.github.com/users/ssorallen/repos","events_url":"https://api.github.com/users/ssorallen/events{/privacy}","received_events_url":"https://api.github.com/users/ssorallen/received_events","type":"User","site_admin":false},"repo":{"id":37284796,"name":"atom","full_name":"ssorallen/atom","owner":{"login":"ssorallen","id":29612,"avatar_url":"https://avatars.githubusercontent.com/u/29612?v=3","gravatar_id":"","url":"https://api.github.com/users/ssorallen","html_url":"https://github.com/ssorallen","followers_url":"https://api.github.com/users/ssorallen/followers","following_url":"https://api.github.com/users/ssorallen/following{/other_user}","gists_url":"https://api.github.com/users/ssorallen/gists{/gist_id}","starred_url":"https://api.github.com/users/ssorallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssorallen/subscriptions","organizations_url":"https://api.github.com/users/ssorallen/orgs","repos_url":"https://api.github.com/users/ssorallen/repos","events_url":"https://api.github.com/users/ssorallen/events{/privacy}","received_events_url":"https://api.github.com/users/ssorallen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssorallen/atom","description":"The hackable text editor","fork":true,"url":"https://api.github.com/repos/ssorallen/atom","forks_url":"https://api.github.com/repos/ssorallen/atom/forks","keys_url":"https://api.github.com/repos/ssorallen/atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssorallen/atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssorallen/atom/teams","hooks_url":"https://api.github.com/repos/ssorallen/atom/hooks","issue_events_url":"https://api.github.com/repos/ssorallen/atom/issues/events{/number}","events_url":"https://api.github.com/repos/ssorallen/atom/events","assignees_url":"https://api.github.com/repos/ssorallen/atom/assignees{/user}","branches_url":"https://api.github.com/repos/ssorallen/atom/branches{/branch}","tags_url":"https://api.github.com/repos/ssorallen/atom/tags","blobs_url":"https://api.github.com/repos/ssorallen/atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssorallen/atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssorallen/atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssorallen/atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssorallen/atom/statuses/{sha}","languages_url":"https://api.github.com/repos/ssorallen/atom/languages","stargazers_url":"https://api.github.com/repos/ssorallen/atom/stargazers","contributors_url":"https://api.github.com/repos/ssorallen/atom/contributors","subscribers_url":"https://api.github.com/repos/ssorallen/atom/subscribers","subscription_url":"https://api.github.com/repos/ssorallen/atom/subscription","commits_url":"https://api.github.com/repos/ssorallen/atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssorallen/atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssorallen/atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssorallen/atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssorallen/atom/contents/{+path}","compare_url":"https://api.github.com/repos/ssorallen/atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssorallen/atom/merges","archive_url":"https://api.github.com/repos/ssorallen/atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssorallen/atom/downloads","issues_url":"https://api.github.com/repos/ssorallen/atom/issues{/number}","pulls_url":"https://api.github.com/repos/ssorallen/atom/pulls{/number}","milestones_url":"https://api.github.com/repos/ssorallen/atom/milestones{/number}","notifications_url":"https://api.github.com/repos/ssorallen/atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssorallen/atom/labels{/name}","releases_url":"https://api.github.com/repos/ssorallen/atom/releases{/id}","created_at":"2015-06-11T20:37:05Z","updated_at":"2015-06-11T20:37:10Z","pushed_at":"2015-10-12T17:24:19Z","git_url":"git://github.com/ssorallen/atom.git","ssh_url":"git@github.com:ssorallen/atom.git","clone_url":"https://github.com/ssorallen/atom.git","svn_url":"https://github.com/ssorallen/atom","homepage":"https://atom.io","size":274760,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"atom:master","ref":"master","sha":"69d9da1fa5c076df8eecb1323aee2659e4f3e63c","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":3228505,"name":"atom","full_name":"atom/atom","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/atom","description":"The hackable text editor","fork":false,"url":"https://api.github.com/repos/atom/atom","forks_url":"https://api.github.com/repos/atom/atom/forks","keys_url":"https://api.github.com/repos/atom/atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/atom/teams","hooks_url":"https://api.github.com/repos/atom/atom/hooks","issue_events_url":"https://api.github.com/repos/atom/atom/issues/events{/number}","events_url":"https://api.github.com/repos/atom/atom/events","assignees_url":"https://api.github.com/repos/atom/atom/assignees{/user}","branches_url":"https://api.github.com/repos/atom/atom/branches{/branch}","tags_url":"https://api.github.com/repos/atom/atom/tags","blobs_url":"https://api.github.com/repos/atom/atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/atom/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/atom/languages","stargazers_url":"https://api.github.com/repos/atom/atom/stargazers","contributors_url":"https://api.github.com/repos/atom/atom/contributors","subscribers_url":"https://api.github.com/repos/atom/atom/subscribers","subscription_url":"https://api.github.com/repos/atom/atom/subscription","commits_url":"https://api.github.com/repos/atom/atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/atom/contents/{+path}","compare_url":"https://api.github.com/repos/atom/atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/atom/merges","archive_url":"https://api.github.com/repos/atom/atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/atom/downloads","issues_url":"https://api.github.com/repos/atom/atom/issues{/number}","pulls_url":"https://api.github.com/repos/atom/atom/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/atom/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/atom/labels{/name}","releases_url":"https://api.github.com/repos/atom/atom/releases{/id}","created_at":"2012-01-20T18:18:21Z","updated_at":"2015-10-12T17:11:46Z","pushed_at":"2015-10-12T18:15:57Z","git_url":"git://github.com/atom/atom.git","ssh_url":"git@github.com:atom/atom.git","clone_url":"https://github.com/atom/atom.git","svn_url":"https://github.com/atom/atom","homepage":"https://atom.io","size":364811,"stargazers_count":20810,"watchers_count":20810,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3544,"mirror_url":null,"open_issues_count":1403,"forks":3544,"open_issues":1403,"watchers":20810,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/atom/pulls/9029"},"html":{"href":"https://github.com/atom/atom/pull/9029"},"issue":{"href":"https://api.github.com/repos/atom/atom/issues/9029"},"comments":{"href":"https://api.github.com/repos/atom/atom/issues/9029/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/atom/pulls/9029/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/atom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atom/atom/pulls/9029/commits"},"statuses":{"href":"https://api.github.com/repos/atom/atom/statuses/41984a2317d64ea30c450075cceae0bd6f78afea"}}}}