@@ -165,11 +165,11 @@ ExecuteMutation(mutation, schema, variableValues, initialValue):
165
165
### Subscription
166
166
167
167
If the operation is a subscription, the result is an _ event stream_ called the
168
- "Response Stream" where each event in the event stream is the result of
169
- executing the operation for each new event on an underlying "Source Stream" .
168
+ _ response stream _ where each event in the event stream is the result of
169
+ executing the operation for each new event on an underlying _ source stream _ .
170
170
171
171
Executing a subscription operation creates a persistent function on the service
172
- that maps an underlying Source Stream to a returned Response Stream .
172
+ that maps an underlying _ source stream _ to a returned _ response stream _ .
173
173
174
174
Subscribe(subscription, schema, variableValues, initialValue):
175
175
@@ -257,9 +257,9 @@ service details should be chosen by the implementing service.
257
257
258
258
#### Source Stream
259
259
260
- A Source Stream is an _ event stream_ representing a sequence of root values,
261
- each of which will trigger a GraphQL execution. Like field value resolution, the
262
- logic to create a Source Stream is application-specific.
260
+ :: A _ source stream _ is an _ event stream_ representing a sequence of root
261
+ values, each of which will trigger a GraphQL execution. Like field value
262
+ resolution, the logic to create a _ source stream _ is application-specific.
263
263
264
264
CreateSourceEventStream(subscription, schema, variableValues, initialValue):
265
265
@@ -294,7 +294,7 @@ operation type.
294
294
295
295
#### Response Stream
296
296
297
- Each event from the underlying Source Stream triggers execution of the
297
+ Each event from the underlying _ source stream _ triggers execution of the
298
298
subscription _ selection set_ using that event's value as the {initialValue}.
299
299
300
300
MapSourceToResponseEvent(sourceStream, subscription, schema, variableValues):
@@ -339,7 +339,7 @@ Note: The {ExecuteSubscriptionEvent()} algorithm is intentionally similar to
339
339
340
340
#### Unsubscribe
341
341
342
- Unsubscribe cancels the Response Stream when a client no longer wishes to
342
+ Unsubscribe cancels the _ response stream _ when a client no longer wishes to
343
343
receive payloads for a subscription. This in turn also cancels the Source
344
344
Stream, which is a good opportunity to clean up any other resources used by the
345
345
subscription.
0 commit comments