{"action":"created","issue":{"url":"https://api.github.com/repos/atom/tree-view/issues/344","labels_url":"https://api.github.com/repos/atom/tree-view/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/atom/tree-view/issues/344/comments","events_url":"https://api.github.com/repos/atom/tree-view/issues/344/events","html_url":"https://github.com/atom/tree-view/pull/344","id":55686477,"number":344,"title":"Change tree directory loading to use async IO calls","user":{"login":"mostafaeweda","id":264320,"avatar_url":"https://avatars.githubusercontent.com/u/264320?v=3","gravatar_id":"","url":"https://api.github.com/users/mostafaeweda","html_url":"https://github.com/mostafaeweda","followers_url":"https://api.github.com/users/mostafaeweda/followers","following_url":"https://api.github.com/users/mostafaeweda/following{/other_user}","gists_url":"https://api.github.com/users/mostafaeweda/gists{/gist_id}","starred_url":"https://api.github.com/users/mostafaeweda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostafaeweda/subscriptions","organizations_url":"https://api.github.com/users/mostafaeweda/orgs","repos_url":"https://api.github.com/users/mostafaeweda/repos","events_url":"https://api.github.com/users/mostafaeweda/events{/privacy}","received_events_url":"https://api.github.com/users/mostafaeweda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-27T22:47:55Z","updated_at":"2015-01-27T23:47:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atom/tree-view/pulls/344","html_url":"https://github.com/atom/tree-view/pull/344","diff_url":"https://github.com/atom/tree-view/pull/344.diff","patch_url":"https://github.com/atom/tree-view/pull/344.patch"},"body":"* Deprecates the synchronous version of getEntries\r\n* Introduce a new getEntries that's 80% copied from: https://github.com/atom/node-pathwatcher/blob/master/src/directory.coffee#L224-L246\r\nMaybe in the future, the tree directory and file classes should inherit from the Atom API's File/Directory classes which now exist in `node-pathwatcher`\r\n\r\nRelated, but not a dependency: https://github.com/atom/node-pathwatcher/pull/56"},"comment":{"url":"https://api.github.com/repos/atom/tree-view/issues/comments/71753634","html_url":"https://github.com/atom/tree-view/pull/344#issuecomment-71753634","issue_url":"https://api.github.com/repos/atom/tree-view/issues/344","id":71753634,"user":{"login":"mostafaeweda","id":264320,"avatar_url":"https://avatars.githubusercontent.com/u/264320?v=3","gravatar_id":"","url":"https://api.github.com/users/mostafaeweda","html_url":"https://github.com/mostafaeweda","followers_url":"https://api.github.com/users/mostafaeweda/followers","following_url":"https://api.github.com/users/mostafaeweda/following{/other_user}","gists_url":"https://api.github.com/users/mostafaeweda/gists{/gist_id}","starred_url":"https://api.github.com/users/mostafaeweda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostafaeweda/subscriptions","organizations_url":"https://api.github.com/users/mostafaeweda/orgs","repos_url":"https://api.github.com/users/mostafaeweda/repos","events_url":"https://api.github.com/users/mostafaeweda/events{/privacy}","received_events_url":"https://api.github.com/users/mostafaeweda/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T23:47:38Z","updated_at":"2015-01-27T23:47:38Z","body":"I see that the rendering of that is handled by the `directory-view` to remove items on collabse and  https://github.com/mostafaeweda/tree-view/blob/master/lib/directory-view.coffee#L118 and the `onDid$` events and subscriptions are making sure the listing under the directory is always in sync with the most recent resolved promise results."}}