{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/20118","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/20118/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/20118/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/20118/events","html_url":"https://github.com/nodejs/node/issues/20118","id":315338364,"number":20118,"title":"napi_get_uv_event_loop is not paltform neutral:)","user":{"login":"lygstate","id":121040,"avatar_url":"https://avatars3.githubusercontent.com/u/121040?v=4","gravatar_id":"","url":"https://api.github.com/users/lygstate","html_url":"https://github.com/lygstate","followers_url":"https://api.github.com/users/lygstate/followers","following_url":"https://api.github.com/users/lygstate/following{/other_user}","gists_url":"https://api.github.com/users/lygstate/gists{/gist_id}","starred_url":"https://api.github.com/users/lygstate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lygstate/subscriptions","organizations_url":"https://api.github.com/users/lygstate/orgs","repos_url":"https://api.github.com/users/lygstate/repos","events_url":"https://api.github.com/users/lygstate/events{/privacy}","received_events_url":"https://api.github.com/users/lygstate/received_events","type":"User","site_admin":false},"labels":[{"id":574036893,"url":"https://api.github.com/repos/nodejs/node/labels/n-api","name":"n-api","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-04-18T05:42:50Z","updated_at":"2018-04-18T11:41:31Z","closed_at":null,"author_association":"NONE","body":"Can these API change to be more platform independent.\r\nCause the eventloop can not only be UV-Event-Loop.\r\nFor some special JS engine, they more use event loop other than UV,\r\n\r\n\r\nWe my abstract some common properly of event-loop.\r\nSo that this API be more neutral\r\n<!--\r\nThank you for reporting an issue.\r\n\r\nThis issue tracker is for bugs and issues found within Node.js core.\r\nIf you require more general support please file an issue on our help\r\nrepo. https://github.com/nodejs/help\r\n\r\n\r\nPlease fill in as much of the template below as you're able.\r\n\r\nVersion: output of `node -v`\r\nPlatform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)\r\nSubsystem: if known, please specify affected core module name\r\n\r\nIf possible, please provide code that demonstrates the problem, keeping it as\r\nsimple and free of external dependencies as you are able.\r\n-->\r\n\r\n* **Version**:\r\n* **Platform**:\r\n* **Subsystem**:\r\n\r\n<!-- Enter your issue details below this comment. -->\r\n"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/382358057","html_url":"https://github.com/nodejs/node/issues/20118#issuecomment-382358057","issue_url":"https://api.github.com/repos/nodejs/node/issues/20118","id":382358057,"user":{"login":"lygstate","id":121040,"avatar_url":"https://avatars3.githubusercontent.com/u/121040?v=4","gravatar_id":"","url":"https://api.github.com/users/lygstate","html_url":"https://github.com/lygstate","followers_url":"https://api.github.com/users/lygstate/followers","following_url":"https://api.github.com/users/lygstate/following{/other_user}","gists_url":"https://api.github.com/users/lygstate/gists{/gist_id}","starred_url":"https://api.github.com/users/lygstate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lygstate/subscriptions","organizations_url":"https://api.github.com/users/lygstate/orgs","repos_url":"https://api.github.com/users/lygstate/repos","events_url":"https://api.github.com/users/lygstate/events{/privacy}","received_events_url":"https://api.github.com/users/lygstate/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T11:41:31Z","updated_at":"2018-04-18T11:41:31Z","author_association":"NONE","body":"@addaleax, Cause this still not a stable API, so I am asking for more neutral API, and that would not stop people using with libuv. In fact, i found the usage of napi_get_uv_event_loop  comes for \r\nnode-ffi-napi -> weak-napi ->setimmediate-napi -> get-uv-event-loop-napi-h\r\nAnd the setimmediate-napi used more uv event loop APIs."}}
{"actor":{"display_login":"lygstate"}}