@@ -160,14 +160,13 @@ variableValues):
160
160
- Let {defers} be {initialDefers}.
161
161
- Let {pendingDefer} be an unordered map containing {id}, {defers}.
162
162
- Add {pendingDefer} to {remainingDefers}.
163
- - If {initialStreams} is not an empty list:
164
- - For each entry {streamDetails} in {initialStreams}:
165
- - Let {id} be {nextId} and increment {nextId} by one.
166
- - Let {path} be the value for the key {path} in {streamDetails}.
167
- - Let {pendingPayload} be an unordered map containing {id}, {path}.
168
- - Add {pendingPayload} to {pending}.
169
- - Let {pendingStream} be an unordered map containing {id}, {streamDetails}.
170
- - Add {pendingStream} to {remainingStreams}.
163
+ - For each entry {streamDetails} in {initialStreams}:
164
+ - Let {id} be {nextId} and increment {nextId} by one.
165
+ - Let {path} be the value for the key {path} in {streamDetails}.
166
+ - Let {pendingPayload} be an unordered map containing {id}, {path}.
167
+ - Add {pendingPayload} to {pending}.
168
+ - Let {pendingStream} be an unordered map containing {id}, {streamDetails}.
169
+ - Add {pendingStream} to {remainingStreams}.
171
170
- Let {initialResponse} be an unordered map containing {data}, {errors},
172
171
{pending}, and the value {true} for key {hasNext}.
173
172
- Yield an event containing {initialResponse}.
@@ -242,15 +241,14 @@ variableValues):
242
241
- Let {defers} be {batchDefers}.
243
242
- Let {pendingDefer} be an unordered map containing {id}, {defers}.
244
243
- Add {pendingDefer} to {remainingDefers}.
245
- - If {batchStreams} is not an empty list:
246
- - For each entry {streamDetails} in {batchStreams}:
247
- - Let {id} be {nextId} and increment {nextId} by one.
248
- - Let {path} be the value for the key {path} in {streamDetails}.
249
- - Let {pendingPayload} be an unordered map containing {id}, {path}.
250
- - Add {pendingPayload} to {pending}.
251
- - Let {pendingStream} be an unordered map containing {id},
252
- {streamDetails}.
253
- - Add {pendingStream} to {remainingStreams}.
244
+ - For each entry {streamDetails} in {batchStreams}:
245
+ - Let {id} be {nextId} and increment {nextId} by one.
246
+ - Let {path} be the value for the key {path} in {streamDetails}.
247
+ - Let {pendingPayload} be an unordered map containing {id}, {path}.
248
+ - Add {pendingPayload} to {pending}.
249
+ - Let {pendingStream} be an unordered map containing {id},
250
+ {streamDetails}.
251
+ - Add {pendingStream} to {remainingStreams}.
254
252
- Add to {completed} an unordered map containing key {id} with value
255
253
{thisId}.
256
254
- Optionally, {FlushStream()}.
@@ -289,15 +287,14 @@ variableValues):
289
287
- Let {defers} be {childDefers}.
290
288
- Let {pendingDefer} be an unordered map containing {id}, {defers}.
291
289
- Add {pendingDefer} to {remainingDefers}.
292
- - If {childStreams} is not an empty list:
293
- - For each entry {streamDetails} in {childStreams}:
294
- - Let {id} be {nextId} and increment {nextId} by one.
295
- - Let {path} be the value for the key {path} in {streamDetails}.
296
- - Let {pendingPayload} be an unordered map containing {id}, {path}.
297
- - Add {pendingPayload} to {pending}.
298
- - Let {pendingStream} be an unordered map containing {id},
299
- {streamDetails}.
300
- - Add {pendingStream} to {remainingStreams}.
290
+ - For each entry {streamDetails} in {childStreams}:
291
+ - Let {id} be {nextId} and increment {nextId} by one.
292
+ - Let {path} be the value for the key {path} in {streamDetails}.
293
+ - Let {pendingPayload} be an unordered map containing {id}, {path}.
294
+ - Add {pendingPayload} to {pending}.
295
+ - Let {pendingStream} be an unordered map containing {id},
296
+ {streamDetails}.
297
+ - Add {pendingStream} to {remainingStreams}.
301
298
- Add to {completed} an unordered map containing key {id} with value
302
299
{thisId}.
303
300
- Optionally, {FlushStream()}.
0 commit comments