From 779381ecc9596ce8a891398119f878e388f82615 Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Thu, 7 Apr 2022 20:55:56 +0300 Subject: [PATCH] asynchronous generators may yield payloads each containing a list --- spec/Section 6 -- Execution.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/Section 6 -- Execution.md b/spec/Section 6 -- Execution.md index b6716a600..57e0fe2ce 100644 --- a/spec/Section 6 -- Execution.md +++ b/spec/Section 6 -- Execution.md @@ -834,7 +834,9 @@ an underlying database or networked service to produce a value. This necessitates the rest of a GraphQL executor to handle an asynchronous execution flow. In addition, a common implementation of {generator} is to leverage asynchronous iterators or asynchronous generators provided by many programming -languages. +languages. As an optimization, these asynchronous iterators or generators may +yield payloads each containing a list of values, rather than a separate payload +for each value. ### Value Completion