Skip to content

Commit

Permalink
Update RFC based on consensus from Issue #283
Browse files Browse the repository at this point in the history
When the client initializes a subscription, distinct from the "Subscription Active" acknowledgement, the server may also send an initial response. Typically, subscriptions depend on a combination of input variables and event data in order to "resolve". If a subscription is capable of returning an immediate response when a client subscribes, it may do so.
  • Loading branch information
robzhu authored Apr 28, 2017
1 parent cd70dbb commit 48dac3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rfcs/Subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ We'll try to define the irreducible components of a GraphQL Subscriptions system

The lifetime of a subscription looks like this:

* **Subscribe:** the Client initializes a subscription by sending a query and its variables to the server. When the Subscription is created, the input query and variables are mapped to a set of events to which the Subscription listens.
* **Subscribe:** the Client initializes a subscription by sending a query and its variables to the server. When the Subscription is created, the input query and variables are mapped to a set of events to which the Subscription listens. The server _may_ send an initial response from executing the subscription operation.

* **Publish:** when any of the events associated with the subscription are triggered, the subscription executes the query, variables, and payload and sends the result to the client.

Expand Down

0 comments on commit 48dac3f

Please sign in to comment.