{"action":"created","issue":{"url":"https://api.github.com/repos/yaacov/observer/issues/1","repository_url":"https://api.github.com/repos/yaacov/observer","labels_url":"https://api.github.com/repos/yaacov/observer/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/yaacov/observer/issues/1/comments","events_url":"https://api.github.com/repos/yaacov/observer/issues/1/events","html_url":"https://github.com/yaacov/observer/pull/1","id":319543144,"number":1,"title":"Add buffering","user":{"login":"yaacov","id":2181522,"avatar_url":"https://avatars2.githubusercontent.com/u/2181522?v=4","gravatar_id":"","url":"https://api.github.com/users/yaacov","html_url":"https://github.com/yaacov","followers_url":"https://api.github.com/users/yaacov/followers","following_url":"https://api.github.com/users/yaacov/following{/other_user}","gists_url":"https://api.github.com/users/yaacov/gists{/gist_id}","starred_url":"https://api.github.com/users/yaacov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaacov/subscriptions","organizations_url":"https://api.github.com/users/yaacov/orgs","repos_url":"https://api.github.com/users/yaacov/repos","events_url":"https://api.github.com/users/yaacov/events{/privacy}","received_events_url":"https://api.github.com/users/yaacov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-02T13:02:33Z","updated_at":"2018-05-02T13:06:05Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/yaacov/observer/pulls/1","html_url":"https://github.com/yaacov/observer/pull/1","diff_url":"https://github.com/yaacov/observer/pull/1.diff","patch_url":"https://github.com/yaacov/observer/pull/1.patch"},"body":"**Description**\r\n\r\nAdd optional event buffering before sending them to listener functions.\r\nIn case of multiple events in short time, events get aggregated, and a list of all events is sent once to the listeners.\r\n\r\n**Example**\r\n\r\n``` go\r\no.Open()\r\no.SetBufferDuration(1 * time.Second)\r\n\r\no.AddListener(func(e interface{}) {\r\n\toutput = e.([]interface{}) // => [\"done\", \"done\", \"done\", \"done\"]\r\n})\r\n\r\no.Emit(\"done\")\r\no.Emit(\"done\")\r\no.Emit(\"done\")\r\no.Emit(\"done\")\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yaacov/observer/issues/comments/385970974","html_url":"https://github.com/yaacov/observer/pull/1#issuecomment-385970974","issue_url":"https://api.github.com/repos/yaacov/observer/issues/1","id":385970974,"user":{"login":"yaacov","id":2181522,"avatar_url":"https://avatars2.githubusercontent.com/u/2181522?v=4","gravatar_id":"","url":"https://api.github.com/users/yaacov","html_url":"https://github.com/yaacov","followers_url":"https://api.github.com/users/yaacov/followers","following_url":"https://api.github.com/users/yaacov/following{/other_user}","gists_url":"https://api.github.com/users/yaacov/gists{/gist_id}","starred_url":"https://api.github.com/users/yaacov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaacov/subscriptions","organizations_url":"https://api.github.com/users/yaacov/orgs","repos_url":"https://api.github.com/users/yaacov/repos","events_url":"https://api.github.com/users/yaacov/events{/privacy}","received_events_url":"https://api.github.com/users/yaacov/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T13:06:05Z","updated_at":"2018-05-02T13:06:05Z","author_association":"OWNER","body":"@ik5 @ripcurld  PTAL"}}
{"actor":{"display_login":"yaacov"}}