{"action":"created","issue":{"url":"https://api.github.com/repos/chen-ye/hubot-fb/issues/12","repository_url":"https://api.github.com/repos/chen-ye/hubot-fb","labels_url":"https://api.github.com/repos/chen-ye/hubot-fb/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/chen-ye/hubot-fb/issues/12/comments","events_url":"https://api.github.com/repos/chen-ye/hubot-fb/issues/12/events","html_url":"https://github.com/chen-ye/hubot-fb/pull/12","id":162204817,"number":12,"title":"Enforce order in sending messages by queueing data submission. Fixes #8","user":{"login":"nsand","id":181819,"avatar_url":"https://avatars.githubusercontent.com/u/181819?v=3","gravatar_id":"","url":"https://api.github.com/users/nsand","html_url":"https://github.com/nsand","followers_url":"https://api.github.com/users/nsand/followers","following_url":"https://api.github.com/users/nsand/following{/other_user}","gists_url":"https://api.github.com/users/nsand/gists{/gist_id}","starred_url":"https://api.github.com/users/nsand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsand/subscriptions","organizations_url":"https://api.github.com/users/nsand/orgs","repos_url":"https://api.github.com/users/nsand/repos","events_url":"https://api.github.com/users/nsand/events{/privacy}","received_events_url":"https://api.github.com/users/nsand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-24T18:32:53Z","updated_at":"2016-06-25T12:26:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chen-ye/hubot-fb/pulls/12","html_url":"https://github.com/chen-ye/hubot-fb/pull/12","diff_url":"https://github.com/chen-ye/hubot-fb/pull/12.diff","patch_url":"https://github.com/chen-ye/hubot-fb/pull/12.patch"},"body":"POSTing to `@messageEndpoint` will drain messages from a queue only after the previous submission has completed. It is a bit slower when sending successive messages, but they do end up in the proper order."},"comment":{"url":"https://api.github.com/repos/chen-ye/hubot-fb/issues/comments/228537723","html_url":"https://github.com/chen-ye/hubot-fb/pull/12#issuecomment-228537723","issue_url":"https://api.github.com/repos/chen-ye/hubot-fb/issues/12","id":228537723,"user":{"login":"nsand","id":181819,"avatar_url":"https://avatars.githubusercontent.com/u/181819?v=3","gravatar_id":"","url":"https://api.github.com/users/nsand","html_url":"https://github.com/nsand","followers_url":"https://api.github.com/users/nsand/followers","following_url":"https://api.github.com/users/nsand/following{/other_user}","gists_url":"https://api.github.com/users/nsand/gists{/gist_id}","starred_url":"https://api.github.com/users/nsand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsand/subscriptions","organizations_url":"https://api.github.com/users/nsand/orgs","repos_url":"https://api.github.com/users/nsand/repos","events_url":"https://api.github.com/users/nsand/events{/privacy}","received_events_url":"https://api.github.com/users/nsand/received_events","type":"User","site_admin":false},"created_at":"2016-06-25T12:26:14Z","updated_at":"2016-06-25T12:26:14Z","body":"@chen-ye This implementation is without adding a dependency on `async`. If you'd prefer--and don't mind the addition of a new dependency--I could use `async.queue`."}}
{"actor":{"display_login":"nsand"}}