repo_description: The industry-leading GraphQL client for TypeScript, JavaScript, React, Vue, Angular, and more. Apollo Client delivers powerful caching, intuitive APIs, and comprehensive developer tools to accelerate your app development.
repo_topics: apollo-client apollographql graphql graphql-client typescript
code: import type { NetworkStatus } from "@apollo/client";
  
  /**
   * Returns true if the network request is in ready or error state according to a given network
   * status.
   */
  export function isNetworkRequestSettled(
    networkStatus?: NetworkStatus
  ): boolean {
    return networkStatus === 7 || networkStatus === 8;
  }
  