{"action":"created","comment":{"url":"https://api.github.com/repos/VeniceX/Venice/pulls/comments/59931403","id":59931403,"diff_hunk":"@@ -67,26 +67,23 @@ public final class Channel<T>: Sequence {\n     }\n \n     /// Closes the channel. When a channel is closed it cannot receive values anymore.\n-    public func close() -> Bool {\n-        if closed {\n-            return false\n-        }\n+    public func close() throws {\n+        guard !closed else { return }","path":"Source/Venice/Channel/Channel.swift","position":null,"original_position":9,"commit_id":"34bc4891c40110e63e09bf528d51a58bbf9eb145","original_commit_id":"71c8289b13784982e7c03ef433352da5b7f2e408","user":{"login":"paulofaria","id":5126193,"avatar_url":"https://avatars.githubusercontent.com/u/5126193?v=3","gravatar_id":"","url":"https://api.github.com/users/paulofaria","html_url":"https://github.com/paulofaria","followers_url":"https://api.github.com/users/paulofaria/followers","following_url":"https://api.github.com/users/paulofaria/following{/other_user}","gists_url":"https://api.github.com/users/paulofaria/gists{/gist_id}","starred_url":"https://api.github.com/users/paulofaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulofaria/subscriptions","organizations_url":"https://api.github.com/users/paulofaria/orgs","repos_url":"https://api.github.com/users/paulofaria/repos","events_url":"https://api.github.com/users/paulofaria/events{/privacy}","received_events_url":"https://api.github.com/users/paulofaria/received_events","type":"User","site_admin":false},"body":"Who can create the PR?","created_at":"2016-04-15T19:50:19Z","updated_at":"2016-04-15T19:50:19Z","html_url":"https://github.com/VeniceX/Venice/pull/19#discussion_r59931403","pull_request_url":"https://api.github.com/repos/VeniceX/Venice/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/VeniceX/Venice/pulls/comments/59931403"},"html":{"href":"https://github.com/VeniceX/Venice/pull/19#discussion_r59931403"},"pull_request":{"href":"https://api.github.com/repos/VeniceX/Venice/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/VeniceX/Venice/pulls/19","id":66601565,"html_url":"https://github.com/VeniceX/Venice/pull/19","diff_url":"https://github.com/VeniceX/Venice/pull/19.diff","patch_url":"https://github.com/VeniceX/Venice/pull/19.patch","issue_url":"https://api.github.com/repos/VeniceX/Venice/issues/19","number":19,"state":"open","locked":false,"title":"2016-04-12 snapshot adoption","user":{"login":"dreymonde","id":17236908,"avatar_url":"https://avatars.githubusercontent.com/u/17236908?v=3","gravatar_id":"","url":"https://api.github.com/users/dreymonde","html_url":"https://github.com/dreymonde","followers_url":"https://api.github.com/users/dreymonde/followers","following_url":"https://api.github.com/users/dreymonde/following{/other_user}","gists_url":"https://api.github.com/users/dreymonde/gists{/gist_id}","starred_url":"https://api.github.com/users/dreymonde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreymonde/subscriptions","organizations_url":"https://api.github.com/users/dreymonde/orgs","repos_url":"https://api.github.com/users/dreymonde/repos","events_url":"https://api.github.com/users/dreymonde/events{/privacy}","received_events_url":"https://api.github.com/users/dreymonde/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-15T07:36:24Z","updated_at":"2016-04-15T19:50:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"267bdfb91e97f91a72e90428c285052519a150f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/VeniceX/Venice/pulls/19/commits","review_comments_url":"https://api.github.com/repos/VeniceX/Venice/pulls/19/comments","review_comment_url":"https://api.github.com/repos/VeniceX/Venice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/VeniceX/Venice/issues/19/comments","statuses_url":"https://api.github.com/repos/VeniceX/Venice/statuses/34bc4891c40110e63e09bf528d51a58bbf9eb145","head":{"label":"VeniceX:SNAPSHOT-2016-04-12","ref":"SNAPSHOT-2016-04-12","sha":"34bc4891c40110e63e09bf528d51a58bbf9eb145","user":{"login":"VeniceX","id":17913063,"avatar_url":"https://avatars.githubusercontent.com/u/17913063?v=3","gravatar_id":"","url":"https://api.github.com/users/VeniceX","html_url":"https://github.com/VeniceX","followers_url":"https://api.github.com/users/VeniceX/followers","following_url":"https://api.github.com/users/VeniceX/following{/other_user}","gists_url":"https://api.github.com/users/VeniceX/gists{/gist_id}","starred_url":"https://api.github.com/users/VeniceX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeniceX/subscriptions","organizations_url":"https://api.github.com/users/VeniceX/orgs","repos_url":"https://api.github.com/users/VeniceX/repos","events_url":"https://api.github.com/users/VeniceX/events{/privacy}","received_events_url":"https://api.github.com/users/VeniceX/received_events","type":"Organization","site_admin":false},"repo":{"id":42792909,"name":"Venice","full_name":"VeniceX/Venice","owner":{"login":"VeniceX","id":17913063,"avatar_url":"https://avatars.githubusercontent.com/u/17913063?v=3","gravatar_id":"","url":"https://api.github.com/users/VeniceX","html_url":"https://github.com/VeniceX","followers_url":"https://api.github.com/users/VeniceX/followers","following_url":"https://api.github.com/users/VeniceX/following{/other_user}","gists_url":"https://api.github.com/users/VeniceX/gists{/gist_id}","starred_url":"https://api.github.com/users/VeniceX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeniceX/subscriptions","organizations_url":"https://api.github.com/users/VeniceX/orgs","repos_url":"https://api.github.com/users/VeniceX/repos","events_url":"https://api.github.com/users/VeniceX/events{/privacy}","received_events_url":"https://api.github.com/users/VeniceX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VeniceX/Venice","description":"CSP (Coroutines, Channels, Select) for Swift","fork":false,"url":"https://api.github.com/repos/VeniceX/Venice","forks_url":"https://api.github.com/repos/VeniceX/Venice/forks","keys_url":"https://api.github.com/repos/VeniceX/Venice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VeniceX/Venice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VeniceX/Venice/teams","hooks_url":"https://api.github.com/repos/VeniceX/Venice/hooks","issue_events_url":"https://api.github.com/repos/VeniceX/Venice/issues/events{/number}","events_url":"https://api.github.com/repos/VeniceX/Venice/events","assignees_url":"https://api.github.com/repos/VeniceX/Venice/assignees{/user}","branches_url":"https://api.github.com/repos/VeniceX/Venice/branches{/branch}","tags_url":"https://api.github.com/repos/VeniceX/Venice/tags","blobs_url":"https://api.github.com/repos/VeniceX/Venice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VeniceX/Venice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VeniceX/Venice/git/refs{/sha}","trees_url":"https://api.github.com/repos/VeniceX/Venice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VeniceX/Venice/statuses/{sha}","languages_url":"https://api.github.com/repos/VeniceX/Venice/languages","stargazers_url":"https://api.github.com/repos/VeniceX/Venice/stargazers","contributors_url":"https://api.github.com/repos/VeniceX/Venice/contributors","subscribers_url":"https://api.github.com/repos/VeniceX/Venice/subscribers","subscription_url":"https://api.github.com/repos/VeniceX/Venice/subscription","commits_url":"https://api.github.com/repos/VeniceX/Venice/commits{/sha}","git_commits_url":"https://api.github.com/repos/VeniceX/Venice/git/commits{/sha}","comments_url":"https://api.github.com/repos/VeniceX/Venice/comments{/number}","issue_comment_url":"https://api.github.com/repos/VeniceX/Venice/issues/comments{/number}","contents_url":"https://api.github.com/repos/VeniceX/Venice/contents/{+path}","compare_url":"https://api.github.com/repos/VeniceX/Venice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VeniceX/Venice/merges","archive_url":"https://api.github.com/repos/VeniceX/Venice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VeniceX/Venice/downloads","issues_url":"https://api.github.com/repos/VeniceX/Venice/issues{/number}","pulls_url":"https://api.github.com/repos/VeniceX/Venice/pulls{/number}","milestones_url":"https://api.github.com/repos/VeniceX/Venice/milestones{/number}","notifications_url":"https://api.github.com/repos/VeniceX/Venice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VeniceX/Venice/labels{/name}","releases_url":"https://api.github.com/repos/VeniceX/Venice/releases{/id}","deployments_url":"https://api.github.com/repos/VeniceX/Venice/deployments","created_at":"2015-09-19T23:10:44Z","updated_at":"2016-04-15T01:34:48Z","pushed_at":"2016-04-15T17:18:07Z","git_url":"git://github.com/VeniceX/Venice.git","ssh_url":"git@github.com:VeniceX/Venice.git","clone_url":"https://github.com/VeniceX/Venice.git","svn_url":"https://github.com/VeniceX/Venice","homepage":"","size":460,"stargazers_count":951,"watchers_count":951,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":2,"forks":41,"open_issues":2,"watchers":951,"default_branch":"master"}},"base":{"label":"VeniceX:master","ref":"master","sha":"f3cede1033d4112d141abc30ae1cc4cb0fcfe7c0","user":{"login":"VeniceX","id":17913063,"avatar_url":"https://avatars.githubusercontent.com/u/17913063?v=3","gravatar_id":"","url":"https://api.github.com/users/VeniceX","html_url":"https://github.com/VeniceX","followers_url":"https://api.github.com/users/VeniceX/followers","following_url":"https://api.github.com/users/VeniceX/following{/other_user}","gists_url":"https://api.github.com/users/VeniceX/gists{/gist_id}","starred_url":"https://api.github.com/users/VeniceX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeniceX/subscriptions","organizations_url":"https://api.github.com/users/VeniceX/orgs","repos_url":"https://api.github.com/users/VeniceX/repos","events_url":"https://api.github.com/users/VeniceX/events{/privacy}","received_events_url":"https://api.github.com/users/VeniceX/received_events","type":"Organization","site_admin":false},"repo":{"id":42792909,"name":"Venice","full_name":"VeniceX/Venice","owner":{"login":"VeniceX","id":17913063,"avatar_url":"https://avatars.githubusercontent.com/u/17913063?v=3","gravatar_id":"","url":"https://api.github.com/users/VeniceX","html_url":"https://github.com/VeniceX","followers_url":"https://api.github.com/users/VeniceX/followers","following_url":"https://api.github.com/users/VeniceX/following{/other_user}","gists_url":"https://api.github.com/users/VeniceX/gists{/gist_id}","starred_url":"https://api.github.com/users/VeniceX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeniceX/subscriptions","organizations_url":"https://api.github.com/users/VeniceX/orgs","repos_url":"https://api.github.com/users/VeniceX/repos","events_url":"https://api.github.com/users/VeniceX/events{/privacy}","received_events_url":"https://api.github.com/users/VeniceX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VeniceX/Venice","description":"CSP (Coroutines, Channels, Select) for Swift","fork":false,"url":"https://api.github.com/repos/VeniceX/Venice","forks_url":"https://api.github.com/repos/VeniceX/Venice/forks","keys_url":"https://api.github.com/repos/VeniceX/Venice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VeniceX/Venice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VeniceX/Venice/teams","hooks_url":"https://api.github.com/repos/VeniceX/Venice/hooks","issue_events_url":"https://api.github.com/repos/VeniceX/Venice/issues/events{/number}","events_url":"https://api.github.com/repos/VeniceX/Venice/events","assignees_url":"https://api.github.com/repos/VeniceX/Venice/assignees{/user}","branches_url":"https://api.github.com/repos/VeniceX/Venice/branches{/branch}","tags_url":"https://api.github.com/repos/VeniceX/Venice/tags","blobs_url":"https://api.github.com/repos/VeniceX/Venice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VeniceX/Venice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VeniceX/Venice/git/refs{/sha}","trees_url":"https://api.github.com/repos/VeniceX/Venice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VeniceX/Venice/statuses/{sha}","languages_url":"https://api.github.com/repos/VeniceX/Venice/languages","stargazers_url":"https://api.github.com/repos/VeniceX/Venice/stargazers","contributors_url":"https://api.github.com/repos/VeniceX/Venice/contributors","subscribers_url":"https://api.github.com/repos/VeniceX/Venice/subscribers","subscription_url":"https://api.github.com/repos/VeniceX/Venice/subscription","commits_url":"https://api.github.com/repos/VeniceX/Venice/commits{/sha}","git_commits_url":"https://api.github.com/repos/VeniceX/Venice/git/commits{/sha}","comments_url":"https://api.github.com/repos/VeniceX/Venice/comments{/number}","issue_comment_url":"https://api.github.com/repos/VeniceX/Venice/issues/comments{/number}","contents_url":"https://api.github.com/repos/VeniceX/Venice/contents/{+path}","compare_url":"https://api.github.com/repos/VeniceX/Venice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VeniceX/Venice/merges","archive_url":"https://api.github.com/repos/VeniceX/Venice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VeniceX/Venice/downloads","issues_url":"https://api.github.com/repos/VeniceX/Venice/issues{/number}","pulls_url":"https://api.github.com/repos/VeniceX/Venice/pulls{/number}","milestones_url":"https://api.github.com/repos/VeniceX/Venice/milestones{/number}","notifications_url":"https://api.github.com/repos/VeniceX/Venice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VeniceX/Venice/labels{/name}","releases_url":"https://api.github.com/repos/VeniceX/Venice/releases{/id}","deployments_url":"https://api.github.com/repos/VeniceX/Venice/deployments","created_at":"2015-09-19T23:10:44Z","updated_at":"2016-04-15T01:34:48Z","pushed_at":"2016-04-15T17:18:07Z","git_url":"git://github.com/VeniceX/Venice.git","ssh_url":"git@github.com:VeniceX/Venice.git","clone_url":"https://github.com/VeniceX/Venice.git","svn_url":"https://github.com/VeniceX/Venice","homepage":"","size":460,"stargazers_count":951,"watchers_count":951,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":2,"forks":41,"open_issues":2,"watchers":951,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/VeniceX/Venice/pulls/19"},"html":{"href":"https://github.com/VeniceX/Venice/pull/19"},"issue":{"href":"https://api.github.com/repos/VeniceX/Venice/issues/19"},"comments":{"href":"https://api.github.com/repos/VeniceX/Venice/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/VeniceX/Venice/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/VeniceX/Venice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/VeniceX/Venice/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/VeniceX/Venice/statuses/34bc4891c40110e63e09bf528d51a58bbf9eb145"}}}}