Skip to content

Commit 135ba54

Browse files
committed
Add a helpful note
1 parent b9d0e38 commit 135ba54

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/Section 6 -- Execution.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ variableValues):
196196
- Remove {pendingDefer} from {remainingDefers}.
197197
- Let {thisId} be the value for key {id} in {pendingDefer}.
198198
- Let {defers} be the value for key {defers} in {pendingDefer}.
199+
- Note: A single `@defer` directive may output multiple incremental payloads
200+
at different paths; it is essential that these multiple incremental
201+
payloads are received by the client as part of a single event in order to
202+
maintain consistency for the client. This is why these incremental
203+
payloads are batched together rather than being flushed to the event
204+
stream as early as possible.
199205
- Let {batchIncremental} be an empty list.
200206
- Let {batchErrors} be an empty list.
201207
- Let {batchDefers} be an empty unordered map.

0 commit comments

Comments
 (0)