{"action":"created","issue":{"url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/259","repository_url":"https://api.github.com/repos/neumino/rethinkdbdash","labels_url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/259/comments","events_url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/259/events","html_url":"https://github.com/neumino/rethinkdbdash/issues/259","id":159199866,"number":259,"title":"Documentation for .changes.run() call","user":{"login":"thomasmodeneis","id":2600966,"avatar_url":"https://avatars.githubusercontent.com/u/2600966?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasmodeneis","html_url":"https://github.com/thomasmodeneis","followers_url":"https://api.github.com/users/thomasmodeneis/followers","following_url":"https://api.github.com/users/thomasmodeneis/following{/other_user}","gists_url":"https://api.github.com/users/thomasmodeneis/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasmodeneis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasmodeneis/subscriptions","organizations_url":"https://api.github.com/users/thomasmodeneis/orgs","repos_url":"https://api.github.com/users/thomasmodeneis/repos","events_url":"https://api.github.com/users/thomasmodeneis/events{/privacy}","received_events_url":"https://api.github.com/users/thomasmodeneis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-08T15:49:38Z","updated_at":"2016-06-09T07:18:09Z","closed_at":"2016-06-09T05:10:30Z","body":"Hi,\r\n\r\nI can't find any docs on readme.md file about running changes calls together with socket.io updates, and right now it seems that no matter what I try it always end up with this warn:\r\n\r\n```\r\n[0] Warning: a promise was created in a handler but was not returned from it\r\n[0]     at Cursor._next (/opt/test/node_modules/rethinkdbdash/lib/cursor.js:54:10)\r\n[0]     at Cursor._each (/opt/test/node_modules/rethinkdbdash/lib/cursor.js:252:8)\r\n[0]     at crud.js:22:16\r\n[0]     at processImmediate [as _immediateCallback] (timers.js:383:17)\r\n[0] From previous event:\r\n[0]     at Object.liveUpdates (crud.js:20:26)\r\n[0]     at Object.<anonymous> (server.js:45:13)\r\n[0]     at Module._compile (module.js:413:34)\r\n[0]     at loader (/opt/test/node_modules/babel-register/lib/node.js:158:5)\r\n[0]     at Object.require.extensions.(anonymous function) [as .js] (/opt/test/node_modules/babel-register/lib/node.js:168:7)\r\n[0]     at Module.load (module.js:357:32)\r\n[0]     at Function.Module._load (module.js:314:12)\r\n[0]     at Module.require (module.js:367:17)\r\n[0]     at require (internal/module.js:16:19)\r\n[0]     at Object.<anonymous> (/opt/test/server.babel.js:3:1)\r\n[0]     at Module._compile (module.js:413:34)\r\n[0]     at Object.Module._extensions..js (module.js:422:10)\r\n[0]     at Module.load (module.js:357:32)\r\n[0]     at Function.Module._load (module.js:314:12)\r\n[0]     at Function.Module.runMain (module.js:447:10)\r\n[0]     at startup (node.js:140:18)\r\n[0]     at node.js:1001:3\r\n```\r\n\r\nCode:\r\n```\r\nr\r\n        .table('feed')\r\n        .changes().run().then(function (feed) {\r\n        console.log('Listening for changes...');\r\n        feed.each((err, change) => {\r\n            console.log('Change detected', change);\r\n            io.emit('feed-change', change);\r\n        });\r\n    });\r\n```\r\n\r\nAny ideas where is the related doc for performing such call or any hints on how-to avoid warns ?\r\n\r\nCheers."},"comment":{"url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/comments/224818534","html_url":"https://github.com/neumino/rethinkdbdash/issues/259#issuecomment-224818534","issue_url":"https://api.github.com/repos/neumino/rethinkdbdash/issues/259","id":224818534,"user":{"login":"thomasmodeneis","id":2600966,"avatar_url":"https://avatars.githubusercontent.com/u/2600966?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasmodeneis","html_url":"https://github.com/thomasmodeneis","followers_url":"https://api.github.com/users/thomasmodeneis/followers","following_url":"https://api.github.com/users/thomasmodeneis/following{/other_user}","gists_url":"https://api.github.com/users/thomasmodeneis/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasmodeneis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasmodeneis/subscriptions","organizations_url":"https://api.github.com/users/thomasmodeneis/orgs","repos_url":"https://api.github.com/users/thomasmodeneis/repos","events_url":"https://api.github.com/users/thomasmodeneis/events{/privacy}","received_events_url":"https://api.github.com/users/thomasmodeneis/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T07:18:09Z","updated_at":"2016-06-09T07:18:09Z","body":"That works, thanks."}}
{"actor":{"display_login":"thomasmodeneis"}}