{"action":"created","comment":{"url":"https://api.github.com/repos/whatwg/streams/pulls/comments/214099921","pull_request_review_id":151077224,"id":214099921,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDA5OTkyMQ==","diff_hunk":"@@ -1402,6 +1405,90 @@ lt=\"ReadableStreamDefaultReader(stream)\">new ReadableStreamDefaultReader(<var>st\n   1. Perform ! ReadableStreamReaderGenericRelease(*this*).\n </emu-alg>\n \n+<h5 id=\"default-reader-getiterator\" method for=\"ReadableStreamDefaultReader\">getIterator({ preventCancel = false } = {})\n+</h5>\n+\n+<p class=\"note\">\n+  The <code>getIterator</code> method returns an async iterator which can be used to consume the stream. The\n+  {{ReadableStreamDefaultReaderAsyncIteratorPrototype/return()}} method of this iterator object will optionally\n+  {{ReadableStreamDefaultReader/cancel()}} this reader.\n+</p>\n+\n+<emu-alg>\n+  1. If ! IsReadableStreamDefaultReader(*this*) is *false*, throw a *TypeError* exception.\n+  1. If *this*.[[ownerReadableStream]] is *undefined*, throw a *TypeError* exception.\n+  1. Let _iterator_ be ObjectCreate(`<a idl>ReadableStreamDefaultReaderAsyncIteratorPrototype</a>`, « [[Reader]],\n+  [[PreventCancel]] »).\n+  1. Set _iterator_.[[Reader]] to *this*.\n+  1. Set _iterator_.[[PreventCancel]] to ! ToBoolean(_cancel_).\n+  1. Return _iterator_.\n+</emu-alg>\n+\n+<h5 id=\"default-reader-@@asynciterator\" for=\"ReadableStreamDefaultReader\">[@@asyncIterator]()</h5>\n+\n+<p class=\"note\">\n+  The <code>@@asyncIterator</code> method is an alias of {{ReadableStreamDefaultReader/getIterator()}}.\n+</p>\n+\n+The initial value of the <code>@@asyncIterator</code> method is the same function object as the initial value of the\n+{{ReadableStreamDefaultReader/getIterator()}} method.\n+\n+<h3 id=\"default-reader-asynciterator-prototype\" interface lt=\"ReadableStreamDefaultReaderAsyncIteratorPrototype\">\n+ReadableStreamDefaultReaderAsyncIteratorPrototype</h3>\n+\n+<h4 id=\"default-reader-asynciterator-prototype-internal-slots\">Internal slots</h4>\n+\n+{{ReadableStreamDefaultReaderAsyncIteratorPrototype}} is created with the internal slots described in the following\n+table:\n+\n+<table>\n+  <thead>\n+    <tr>\n+      <th>Internal Slot</th>\n+      <th>Description (<em>non-normative</em>)</th>\n+    </tr>\n+  </thead>\n+  <tr>\n+    <td>\\[[Prototype]]\n+    <td class=\"non-normative\">%AsyncIteratorPrototype%\n+  </tr>\n+  <tr>\n+    <td>\\[[Reader]]\n+    <td class=\"non-normative\">A {{ReadableStreamDefaultReader}} instance.\n+  </tr>\n+  <tr>\n+    <td>\\[[PreventCancel]]\n+    <td class=\"non-normative\">Boolean value indicating if the reader will be cancelled when the stream returns.\n+  </tr>\n+</table>\n+\n+<h4 id=\"default-reader-asynciterator-prototype-next\" method for=\"ReadableStreamDefaultReaderAsyncIteratorPrototype\">\n+next()</h4>\n+\n+<emu-alg>\n+  1. If ! IsReadableStreamDefaultReaderAsyncIterator(*this*) is *false*, throw a *TypeError* exception.\n+  1. Let _reader_ be *this*.[[Reader]].\n+  1. Let _read_ be GetMethod(_reader_, `\"read\"`).\n+  1. If _read_ is an abrupt completion, return <a>a promise rejected with</a> _read_.[[Value]].\n+  1. Let _result_ be Call(_read_, _reader_).","path":"index.bs","position":79,"original_position":79,"commit_id":"7bc6bdcd3c9b2f2843ba950bfc11776ebf947c5e","original_commit_id":"7bc6bdcd3c9b2f2843ba950bfc11776ebf947c5e","user":{"login":"domenic","id":617481,"node_id":"MDQ6VXNlcjYxNzQ4MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/617481?v=4","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"body":"Missing .[[Value]]","created_at":"2018-08-30T16:37:19Z","updated_at":"2018-08-30T16:44:52Z","html_url":"https://github.com/whatwg/streams/pull/950#discussion_r214099921","pull_request_url":"https://api.github.com/repos/whatwg/streams/pulls/950","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/whatwg/streams/pulls/comments/214099921"},"html":{"href":"https://github.com/whatwg/streams/pull/950#discussion_r214099921"},"pull_request":{"href":"https://api.github.com/repos/whatwg/streams/pulls/950"}}},"pull_request":{"url":"https://api.github.com/repos/whatwg/streams/pulls/950","id":209295324,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5Mjk1MzI0","html_url":"https://github.com/whatwg/streams/pull/950","diff_url":"https://github.com/whatwg/streams/pull/950.diff","patch_url":"https://github.com/whatwg/streams/pull/950.patch","issue_url":"https://api.github.com/repos/whatwg/streams/issues/950","number":950,"state":"open","locked":false,"title":"add @@asyncIterator to ReadableStreamDefaultReader","user":{"login":"devsnek","id":5952481,"node_id":"MDQ6VXNlcjU5NTI0ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/5952481?v=4","gravatar_id":"","url":"https://api.github.com/users/devsnek","html_url":"https://github.com/devsnek","followers_url":"https://api.github.com/users/devsnek/followers","following_url":"https://api.github.com/users/devsnek/following{/other_user}","gists_url":"https://api.github.com/users/devsnek/gists{/gist_id}","starred_url":"https://api.github.com/users/devsnek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devsnek/subscriptions","organizations_url":"https://api.github.com/users/devsnek/orgs","repos_url":"https://api.github.com/users/devsnek/repos","events_url":"https://api.github.com/users/devsnek/events{/privacy}","received_events_url":"https://api.github.com/users/devsnek/received_events","type":"User","site_admin":false},"body":"Closes #778 \n\nprobably needs a lot of editorial :)\n\n\n<!--\n    This comment and the below content is programatically generated.\n    You may add a comma-separated list of anchors you'd like a\n    direct link to below (e.g. #idl-serializers, #idl-sequence):\n\n    Don't remove this comment or modify anything below this line.\n    If you don't want a preview generated for this pull request,\n    just replace the whole of this comment's content by \"no preview\"\n    and remove what's below.\n-->\n***\n<a href=\"https://whatpr.org/streams/950.html\" title=\"Last updated on Aug 28, 2018, 2:08 AM GMT (7bc6bdc)\">Preview</a> | <a href=\"https://whatpr.org/streams/950/78cfd1e...7bc6bdc.html\" title=\"Last updated on Aug 28, 2018, 2:08 AM GMT (7bc6bdc)\">Diff</a>","created_at":"2018-08-18T05:17:40Z","updated_at":"2018-08-30T16:44:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e32e6efda70997e6268a44844a28ca2409464eb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/whatwg/streams/pulls/950/commits","review_comments_url":"https://api.github.com/repos/whatwg/streams/pulls/950/comments","review_comment_url":"https://api.github.com/repos/whatwg/streams/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whatwg/streams/issues/950/comments","statuses_url":"https://api.github.com/repos/whatwg/streams/statuses/7bc6bdcd3c9b2f2843ba950bfc11776ebf947c5e","head":{"label":"devsnek:feature/defaultreader-asynciterator","ref":"feature/defaultreader-asynciterator","sha":"7bc6bdcd3c9b2f2843ba950bfc11776ebf947c5e","user":{"login":"devsnek","id":5952481,"node_id":"MDQ6VXNlcjU5NTI0ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/5952481?v=4","gravatar_id":"","url":"https://api.github.com/users/devsnek","html_url":"https://github.com/devsnek","followers_url":"https://api.github.com/users/devsnek/followers","following_url":"https://api.github.com/users/devsnek/following{/other_user}","gists_url":"https://api.github.com/users/devsnek/gists{/gist_id}","starred_url":"https://api.github.com/users/devsnek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devsnek/subscriptions","organizations_url":"https://api.github.com/users/devsnek/orgs","repos_url":"https://api.github.com/users/devsnek/repos","events_url":"https://api.github.com/users/devsnek/events{/privacy}","received_events_url":"https://api.github.com/users/devsnek/received_events","type":"User","site_admin":false},"repo":{"id":145192219,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUxOTIyMTk=","name":"streams","full_name":"devsnek/streams","owner":{"login":"devsnek","id":5952481,"node_id":"MDQ6VXNlcjU5NTI0ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/5952481?v=4","gravatar_id":"","url":"https://api.github.com/users/devsnek","html_url":"https://github.com/devsnek","followers_url":"https://api.github.com/users/devsnek/followers","following_url":"https://api.github.com/users/devsnek/following{/other_user}","gists_url":"https://api.github.com/users/devsnek/gists{/gist_id}","starred_url":"https://api.github.com/users/devsnek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devsnek/subscriptions","organizations_url":"https://api.github.com/users/devsnek/orgs","repos_url":"https://api.github.com/users/devsnek/repos","events_url":"https://api.github.com/users/devsnek/events{/privacy}","received_events_url":"https://api.github.com/users/devsnek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devsnek/streams","description":"Streams Standard","fork":true,"url":"https://api.github.com/repos/devsnek/streams","forks_url":"https://api.github.com/repos/devsnek/streams/forks","keys_url":"https://api.github.com/repos/devsnek/streams/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devsnek/streams/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devsnek/streams/teams","hooks_url":"https://api.github.com/repos/devsnek/streams/hooks","issue_events_url":"https://api.github.com/repos/devsnek/streams/issues/events{/number}","events_url":"https://api.github.com/repos/devsnek/streams/events","assignees_url":"https://api.github.com/repos/devsnek/streams/assignees{/user}","branches_url":"https://api.github.com/repos/devsnek/streams/branches{/branch}","tags_url":"https://api.github.com/repos/devsnek/streams/tags","blobs_url":"https://api.github.com/repos/devsnek/streams/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devsnek/streams/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devsnek/streams/git/refs{/sha}","trees_url":"https://api.github.com/repos/devsnek/streams/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devsnek/streams/statuses/{sha}","languages_url":"https://api.github.com/repos/devsnek/streams/languages","stargazers_url":"https://api.github.com/repos/devsnek/streams/stargazers","contributors_url":"https://api.github.com/repos/devsnek/streams/contributors","subscribers_url":"https://api.github.com/repos/devsnek/streams/subscribers","subscription_url":"https://api.github.com/repos/devsnek/streams/subscription","commits_url":"https://api.github.com/repos/devsnek/streams/commits{/sha}","git_commits_url":"https://api.github.com/repos/devsnek/streams/git/commits{/sha}","comments_url":"https://api.github.com/repos/devsnek/streams/comments{/number}","issue_comment_url":"https://api.github.com/repos/devsnek/streams/issues/comments{/number}","contents_url":"https://api.github.com/repos/devsnek/streams/contents/{+path}","compare_url":"https://api.github.com/repos/devsnek/streams/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devsnek/streams/merges","archive_url":"https://api.github.com/repos/devsnek/streams/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devsnek/streams/downloads","issues_url":"https://api.github.com/repos/devsnek/streams/issues{/number}","pulls_url":"https://api.github.com/repos/devsnek/streams/pulls{/number}","milestones_url":"https://api.github.com/repos/devsnek/streams/milestones{/number}","notifications_url":"https://api.github.com/repos/devsnek/streams/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devsnek/streams/labels{/name}","releases_url":"https://api.github.com/repos/devsnek/streams/releases{/id}","deployments_url":"https://api.github.com/repos/devsnek/streams/deployments","created_at":"2018-08-18T05:15:40Z","updated_at":"2018-08-18T05:15:42Z","pushed_at":"2018-08-28T02:08:30Z","git_url":"git://github.com/devsnek/streams.git","ssh_url":"git@github.com:devsnek/streams.git","clone_url":"https://github.com/devsnek/streams.git","svn_url":"https://github.com/devsnek/streams","homepage":"https://streams.spec.whatwg.org/","size":4021,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"cc-by-4.0","name":"Creative Commons Attribution 4.0","spdx_id":"CC-BY-4.0","url":"https://api.github.com/licenses/cc-by-4.0","node_id":"MDc6TGljZW5zZTI1"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"whatwg:master","ref":"master","sha":"5d9498e7526d2f50618432e7aada8582d08745c0","user":{"login":"whatwg","id":2226336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMjYzMzY=","avatar_url":"https://avatars1.githubusercontent.com/u/2226336?v=4","gravatar_id":"","url":"https://api.github.com/users/whatwg","html_url":"https://github.com/whatwg","followers_url":"https://api.github.com/users/whatwg/followers","following_url":"https://api.github.com/users/whatwg/following{/other_user}","gists_url":"https://api.github.com/users/whatwg/gists{/gist_id}","starred_url":"https://api.github.com/users/whatwg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatwg/subscriptions","organizations_url":"https://api.github.com/users/whatwg/orgs","repos_url":"https://api.github.com/users/whatwg/repos","events_url":"https://api.github.com/users/whatwg/events{/privacy}","received_events_url":"https://api.github.com/users/whatwg/received_events","type":"Organization","site_admin":false},"repo":{"id":13962843,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk2Mjg0Mw==","name":"streams","full_name":"whatwg/streams","owner":{"login":"whatwg","id":2226336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMjYzMzY=","avatar_url":"https://avatars1.githubusercontent.com/u/2226336?v=4","gravatar_id":"","url":"https://api.github.com/users/whatwg","html_url":"https://github.com/whatwg","followers_url":"https://api.github.com/users/whatwg/followers","following_url":"https://api.github.com/users/whatwg/following{/other_user}","gists_url":"https://api.github.com/users/whatwg/gists{/gist_id}","starred_url":"https://api.github.com/users/whatwg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatwg/subscriptions","organizations_url":"https://api.github.com/users/whatwg/orgs","repos_url":"https://api.github.com/users/whatwg/repos","events_url":"https://api.github.com/users/whatwg/events{/privacy}","received_events_url":"https://api.github.com/users/whatwg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/whatwg/streams","description":"Streams Standard","fork":false,"url":"https://api.github.com/repos/whatwg/streams","forks_url":"https://api.github.com/repos/whatwg/streams/forks","keys_url":"https://api.github.com/repos/whatwg/streams/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whatwg/streams/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whatwg/streams/teams","hooks_url":"https://api.github.com/repos/whatwg/streams/hooks","issue_events_url":"https://api.github.com/repos/whatwg/streams/issues/events{/number}","events_url":"https://api.github.com/repos/whatwg/streams/events","assignees_url":"https://api.github.com/repos/whatwg/streams/assignees{/user}","branches_url":"https://api.github.com/repos/whatwg/streams/branches{/branch}","tags_url":"https://api.github.com/repos/whatwg/streams/tags","blobs_url":"https://api.github.com/repos/whatwg/streams/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whatwg/streams/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whatwg/streams/git/refs{/sha}","trees_url":"https://api.github.com/repos/whatwg/streams/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whatwg/streams/statuses/{sha}","languages_url":"https://api.github.com/repos/whatwg/streams/languages","stargazers_url":"https://api.github.com/repos/whatwg/streams/stargazers","contributors_url":"https://api.github.com/repos/whatwg/streams/contributors","subscribers_url":"https://api.github.com/repos/whatwg/streams/subscribers","subscription_url":"https://api.github.com/repos/whatwg/streams/subscription","commits_url":"https://api.github.com/repos/whatwg/streams/commits{/sha}","git_commits_url":"https://api.github.com/repos/whatwg/streams/git/commits{/sha}","comments_url":"https://api.github.com/repos/whatwg/streams/comments{/number}","issue_comment_url":"https://api.github.com/repos/whatwg/streams/issues/comments{/number}","contents_url":"https://api.github.com/repos/whatwg/streams/contents/{+path}","compare_url":"https://api.github.com/repos/whatwg/streams/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whatwg/streams/merges","archive_url":"https://api.github.com/repos/whatwg/streams/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whatwg/streams/downloads","issues_url":"https://api.github.com/repos/whatwg/streams/issues{/number}","pulls_url":"https://api.github.com/repos/whatwg/streams/pulls{/number}","milestones_url":"https://api.github.com/repos/whatwg/streams/milestones{/number}","notifications_url":"https://api.github.com/repos/whatwg/streams/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whatwg/streams/labels{/name}","releases_url":"https://api.github.com/repos/whatwg/streams/releases{/id}","deployments_url":"https://api.github.com/repos/whatwg/streams/deployments","created_at":"2013-10-29T17:16:58Z","updated_at":"2018-08-28T09:40:10Z","pushed_at":"2018-08-28T02:08:33Z","git_url":"git://github.com/whatwg/streams.git","ssh_url":"git@github.com:whatwg/streams.git","clone_url":"https://github.com/whatwg/streams.git","svn_url":"https://github.com/whatwg/streams","homepage":"https://streams.spec.whatwg.org/","size":4000,"stargazers_count":821,"watchers_count":821,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":92,"mirror_url":null,"archived":false,"open_issues_count":71,"license":{"key":"cc-by-4.0","name":"Creative Commons Attribution 4.0","spdx_id":"CC-BY-4.0","url":"https://api.github.com/licenses/cc-by-4.0","node_id":"MDc6TGljZW5zZTI1"},"forks":92,"open_issues":71,"watchers":821,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whatwg/streams/pulls/950"},"html":{"href":"https://github.com/whatwg/streams/pull/950"},"issue":{"href":"https://api.github.com/repos/whatwg/streams/issues/950"},"comments":{"href":"https://api.github.com/repos/whatwg/streams/issues/950/comments"},"review_comments":{"href":"https://api.github.com/repos/whatwg/streams/pulls/950/comments"},"review_comment":{"href":"https://api.github.com/repos/whatwg/streams/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whatwg/streams/pulls/950/commits"},"statuses":{"href":"https://api.github.com/repos/whatwg/streams/statuses/7bc6bdcd3c9b2f2843ba950bfc11776ebf947c5e"}},"author_association":"NONE"}}
{"actor":{"display_login":"domenic"}}