{"action":"opened","issue":{"url":"https://api.github.com/repos/nekoyume/nekoyume/issues/149","repository_url":"https://api.github.com/repos/nekoyume/nekoyume","labels_url":"https://api.github.com/repos/nekoyume/nekoyume/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/nekoyume/nekoyume/issues/149/comments","events_url":"https://api.github.com/repos/nekoyume/nekoyume/issues/149/events","html_url":"https://github.com/nekoyume/nekoyume/issues/149","id":369892022,"node_id":"MDU6SXNzdWUzNjk4OTIwMjI=","number":149,"title":"Refactoring broadcast","user":{"login":"ipdae","id":3193043,"node_id":"MDQ6VXNlcjMxOTMwNDM=","avatar_url":"https://avatars2.githubusercontent.com/u/3193043?v=4","gravatar_id":"","url":"https://api.github.com/users/ipdae","html_url":"https://github.com/ipdae","followers_url":"https://api.github.com/users/ipdae/followers","following_url":"https://api.github.com/users/ipdae/following{/other_user}","gists_url":"https://api.github.com/users/ipdae/gists{/gist_id}","starred_url":"https://api.github.com/users/ipdae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipdae/subscriptions","organizations_url":"https://api.github.com/users/ipdae/orgs","repos_url":"https://api.github.com/users/ipdae/repos","events_url":"https://api.github.com/users/ipdae/events{/privacy}","received_events_url":"https://api.github.com/users/ipdae/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-14T11:13:09Z","updated_at":"2018-10-14T11:13:09Z","closed_at":null,"author_association":"COLLABORATOR","body":"like this.\r\n```\r\nclass Broadcaster:\r\n    def broadcast(self, sent_node):\r\n\r\n        for node in filter_nodes(sent_node):\r\n            try:\r\n                self._broadcast(node)\r\n            except (ConnectionError, Timeout):\r\n                continue\r\n\r\n    def _broadcast(self, node: Node):\r\n        raise NotImplemented()\r\n\r\n\r\nclass NodeBroadcaster(Broadcaster):\r\n    def _broadcast(self, node: Node):\r\n        '''\r\n        '''\r\n\r\n\r\nclass BlockBroadcaster(Broadcaster):\r\n    def _broadcast(self, node: Node):\r\n        '''\r\n        '''\r\n\r\n\r\nclass MoveBroadcaster(Broadcaster):\r\n    def _broadcast(self, node: Node):\r\n        '''\r\n        '''\r\n\r\n\r\n```"}}
{"actor":{"display_login":"ipdae"}}