{"action":"created","issue":{"url":"https://api.github.com/repos/isaacs/node-graceful-fs/issues/48","repository_url":"https://api.github.com/repos/isaacs/node-graceful-fs","labels_url":"https://api.github.com/repos/isaacs/node-graceful-fs/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/isaacs/node-graceful-fs/issues/48/comments","events_url":"https://api.github.com/repos/isaacs/node-graceful-fs/issues/48/events","html_url":"https://github.com/isaacs/node-graceful-fs/issues/48","id":112009755,"number":48,"title":"question about implementation details","user":{"login":"thisconnect","id":546900,"avatar_url":"https://avatars.githubusercontent.com/u/546900?v=3","gravatar_id":"","url":"https://api.github.com/users/thisconnect","html_url":"https://github.com/thisconnect","followers_url":"https://api.github.com/users/thisconnect/followers","following_url":"https://api.github.com/users/thisconnect/following{/other_user}","gists_url":"https://api.github.com/users/thisconnect/gists{/gist_id}","starred_url":"https://api.github.com/users/thisconnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisconnect/subscriptions","organizations_url":"https://api.github.com/users/thisconnect/orgs","repos_url":"https://api.github.com/users/thisconnect/repos","events_url":"https://api.github.com/users/thisconnect/events{/privacy}","received_events_url":"https://api.github.com/users/thisconnect/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-10-18T09:26:50Z","updated_at":"2016-09-27T21:38:35Z","closed_at":"2016-09-27T21:02:37Z","body":"Hi, I like graceful-fs an am thinking to use it in http://npmjs.com/package/fildes I have a couple of questions and hope it is ok to ask here.\r\n\r\n1)\r\nRetrying the queue, happens on some of the 'shimed' methods like close, closeSync. Does that work in multiple child processes that each try to write many files, as I suppose if one child process gets too many file descriptors error and the other process then calls close, the first isn't informed that something happend?\r\n\r\n2)\r\nWhat does the polyfills.js and legacy-streams.js do? and what impact has it if I only want to use Node.js 4.x\r\n\r\n3)\r\nwhat is require('constants'), seems to be something Node.js internal is that correct? Is there any documentation on it somewhere?\r\n\r\nThanks and I hope you don't mind me asking here."},"comment":{"url":"https://api.github.com/repos/isaacs/node-graceful-fs/issues/comments/250006928","html_url":"https://github.com/isaacs/node-graceful-fs/issues/48#issuecomment-250006928","issue_url":"https://api.github.com/repos/isaacs/node-graceful-fs/issues/48","id":250006928,"user":{"login":"addaleax","id":899444,"avatar_url":"https://avatars.githubusercontent.com/u/899444?v=3","gravatar_id":"","url":"https://api.github.com/users/addaleax","html_url":"https://github.com/addaleax","followers_url":"https://api.github.com/users/addaleax/followers","following_url":"https://api.github.com/users/addaleax/following{/other_user}","gists_url":"https://api.github.com/users/addaleax/gists{/gist_id}","starred_url":"https://api.github.com/users/addaleax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addaleax/subscriptions","organizations_url":"https://api.github.com/users/addaleax/orgs","repos_url":"https://api.github.com/users/addaleax/repos","events_url":"https://api.github.com/users/addaleax/events{/privacy}","received_events_url":"https://api.github.com/users/addaleax/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T21:38:35Z","updated_at":"2016-09-27T21:38:35Z","body":"Hm – `patchLutimes` seems to use it for the `lutimes` polyfill, and I can’t seem to find `fs.lutimes` on any standard Node.js `fs` module?\r\n\r\nI doubt it matters much. :D"}}
{"actor":{"display_login":"addaleax"}}