Skip to content

Commit 2d1c477

Browse files
committed
Fix formatting and typo in MapSourceToResponseEvent
1 parent a303f0c commit 2d1c477

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/algorithm-format-check.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ for (const filename of filenames) {
100100
console.dir(line);
101101
console.dir(nextLine);
102102
console.log();
103-
// TODO: process.exitCode = 1;
103+
process.exitCode = 1;
104104
}
105105
}
106106
}

spec/Section 6 -- Execution.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,11 @@ subscription selection set using that event as a root value.
290290
MapSourceToResponseEvent(sourceStream, subscription, schema, variableValues):
291291

292292
- Return a new event stream {responseStream} which yields events as follows:
293-
- For each {event} on {sourceStream}:
294-
- Let {response} be the result of running
295-
{ExecuteSubscriptionEvent(subscription, schema, variableValues, event)}.
296-
- Yield an event containing {response}.
297-
- When {responseStream} completes: complete this event stream.
293+
- For each {event} on {sourceStream}:
294+
- Let {response} be the result of running
295+
{ExecuteSubscriptionEvent(subscription, schema, variableValues, event)}.
296+
- Yield an event containing {response}.
297+
- When {sourceStream} completes: complete {responseStream}.
298298

299299
ExecuteSubscriptionEvent(subscription, schema, variableValues, initialValue):
300300

0 commit comments

Comments
 (0)