{"action":"created","issue":{"url":"https://api.github.com/repos/loretoparisi/fasttext.js/issues/17","repository_url":"https://api.github.com/repos/loretoparisi/fasttext.js","labels_url":"https://api.github.com/repos/loretoparisi/fasttext.js/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/loretoparisi/fasttext.js/issues/17/comments","events_url":"https://api.github.com/repos/loretoparisi/fasttext.js/issues/17/events","html_url":"https://github.com/loretoparisi/fasttext.js/issues/17","id":376926827,"node_id":"MDU6SXNzdWUzNzY5MjY4Mjc=","number":17,"title":"async/await version","user":{"login":"bittlingmayer","id":11457984,"node_id":"MDQ6VXNlcjExNDU3OTg0","avatar_url":"https://avatars1.githubusercontent.com/u/11457984?v=4","gravatar_id":"","url":"https://api.github.com/users/bittlingmayer","html_url":"https://github.com/bittlingmayer","followers_url":"https://api.github.com/users/bittlingmayer/followers","following_url":"https://api.github.com/users/bittlingmayer/following{/other_user}","gists_url":"https://api.github.com/users/bittlingmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/bittlingmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bittlingmayer/subscriptions","organizations_url":"https://api.github.com/users/bittlingmayer/orgs","repos_url":"https://api.github.com/users/bittlingmayer/repos","events_url":"https://api.github.com/users/bittlingmayer/events{/privacy}","received_events_url":"https://api.github.com/users/bittlingmayer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-02T18:45:38Z","updated_at":"2018-11-07T16:10:16Z","closed_at":null,"author_association":"NONE","body":"This would be easy to do with `promisify` in newer versions of Node.\r\n```\r\nconst {promisify} = require('util');\r\nexports.exists = promisify(train);\r\n...\r\n```\r\n\r\nPersonally I far prefer `async`/`await` to the callback syntax.\r\n"},"comment":{"url":"https://api.github.com/repos/loretoparisi/fasttext.js/issues/comments/436678265","html_url":"https://github.com/loretoparisi/fasttext.js/issues/17#issuecomment-436678265","issue_url":"https://api.github.com/repos/loretoparisi/fasttext.js/issues/17","id":436678265,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjY3ODI2NQ==","user":{"login":"loretoparisi","id":163333,"node_id":"MDQ6VXNlcjE2MzMzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/163333?v=4","gravatar_id":"","url":"https://api.github.com/users/loretoparisi","html_url":"https://github.com/loretoparisi","followers_url":"https://api.github.com/users/loretoparisi/followers","following_url":"https://api.github.com/users/loretoparisi/following{/other_user}","gists_url":"https://api.github.com/users/loretoparisi/gists{/gist_id}","starred_url":"https://api.github.com/users/loretoparisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loretoparisi/subscriptions","organizations_url":"https://api.github.com/users/loretoparisi/orgs","repos_url":"https://api.github.com/users/loretoparisi/repos","events_url":"https://api.github.com/users/loretoparisi/events{/privacy}","received_events_url":"https://api.github.com/users/loretoparisi/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T16:10:16Z","updated_at":"2018-11-07T16:10:16Z","author_association":"OWNER","body":"@bittlingmayer I have just realized that Node10 has worker threads!!!! that is a huge improvements, and will speed up fastText execution a lot!!! Check this out!\r\n\r\nhttps://github.com/a1xon/Node-Workers-Example/blob/master/worker.js"}}
{"actor":{"display_login":"loretoparisi"}}