Re: [heycam/webidl] Use an "end of iteration" signal instead of undefined (#885)

@TimothyGu approved this pull request.

Looks good.

> @@ -4354,13 +4354,13 @@ Prose accompanying an [=interface=] with an [=asynchronously iterable declaratio
 <dfn id="dfn-get-the-next-iteration-result" export>get the next iteration result</dfn> algorithm.
 This algorithm receives the instance of the [=interface=] that is being iterated, as well as the
 async iterator itself (which can be useful for storing state).
-It must return a {{Promise}} that either rejects, resolves with undefined to signal the end of the
-iteration, or resolves with one of the following:
+It must return a {{Promise}} that either rejects, resolves with <dfn export>end of iteration</dfn>

Maybe this could make it clearer? "a special **end of iteration** value"

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/885#pullrequestreview-415830271

Received on Thursday, 21 May 2020 02:01:35 UTC