# Fullstack GraphQL tutorial: @defer and Apollo GraphOS

DevFeed: [Fullstack GraphQL tutorial: @defer and Apollo GraphOS](<https://devfeed.tech/articles/fullstack-graphql-tutorial-defer-and-apollo-graphos-23309.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/fullstack-graphql-tutorial-defer-and-apollo-graphos>)

Author: Michael Watson

Published: 2022-11-10T11:46:40Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [GraphOS](<https://devfeed.tech/topics/graphos.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [API](<https://devfeed.tech/topics/api.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-federation](<https://devfeed.tech/tags/apollo-federation.md>), [caching](<https://devfeed.tech/tags/caching.md>), [defer](<https://devfeed.tech/tags/defer.md>), [graphos](<https://devfeed.tech/tags/graphos.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [latency](<https://devfeed.tech/tags/latency.md>), [time-to-interactive](<https://devfeed.tech/tags/time-to-interactive.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>)

## AI overview

This tutorial explains how to use GraphQL's @defer directive with Apollo GraphOS to deliver slow parts of a query asynchronously and improve client time-to-interactive. It covers connecting a GraphQL API to a GraphOS supergraph and defining entities with Apollo Federation.

## Source excerpt

With Apollo GraphOS, you can improve your client app's time-to-interactive (TTI) and reduce latency in a few lines of code. Just plug your GraphQL API into the supergraph and add the directive to the slow parts of your GraphQL query. When you mark slow fields with , the supergraph knows it can deliver those parts of the result asynchronously. The directive is a proposal to the GraphQL specification that has been in development since July 2020.