Skip to content

Commit

Permalink
Updated Subscription Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Nov 10, 2022
1 parent b51d8e9 commit 04d7e0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Expand Up @@ -4,6 +4,10 @@ title: "Subscriptions"

The subscription type in GraphQL is used to add real-time capabilities to our applications. Clients can subscribe to events and receive the event data in real-time, as soon as the server publishes it.

<iframe width="560" height="315"
src="https://www.youtube.com/embed/wHC9gOk__y0"frameborder="0"
allowfullscreen></iframe>

```sdl
type Subscription {
bookAdded: Book!
Expand Down
Expand Up @@ -4,6 +4,10 @@ title: "Subscriptions"

The subscription type in GraphQL is used to add real-time capabilities to our applications. Clients can subscribe to events and receive the event data in real-time, as soon as the server publishes it.

<iframe width="560" height="315"
src="https://www.youtube.com/embed/wHC9gOk__y0"frameborder="0"
allowfullscreen></iframe>

```sdl
type Subscription {
bookAdded: Book!
Expand Down

0 comments on commit 04d7e0a

Please sign in to comment.