Skip to content

Commit bd13ee7

Browse files
committed
asynchronous generators may yield payloads that each contain a list of values
1 parent 94bc1f6 commit bd13ee7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/Section 6 -- Execution.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,9 @@ an underlying database or networked service to produce a value. This
834834
necessitates the rest of a GraphQL executor to handle an asynchronous execution
835835
flow. In addition, a common implementation of {generator} is to leverage
836836
asynchronous iterators or asynchronous generators provided by many programming
837-
languages.
837+
languages. As an optimization, these asynchronous iterators or generators may
838+
yield payloads that each contain a list of values, rather than a separate
839+
payload for each value.
838840

839841
### Value Completion
840842

0 commit comments

Comments
 (0)