Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

  • TStore

Hierarchy

  • QueryManager

Index

Constructors

  • new QueryManager<TStore>(__namedParameters: { assumeImmutableResults?: boolean; cache: ApolloCache<TStore>; clientAwareness?: Record<string, string>; defaultOptions?: DefaultOptions; link: ApolloLink; localState?: LocalState<TStore>; queryDeduplication?: boolean; ssrMode?: boolean; onBroadcast?: any }): QueryManager<TStore>
  • Type Parameters

    • TStore

    Parameters

    • __namedParameters: { assumeImmutableResults?: boolean; cache: ApolloCache<TStore>; clientAwareness?: Record<string, string>; defaultOptions?: DefaultOptions; link: ApolloLink; localState?: LocalState<TStore>; queryDeduplication?: boolean; ssrMode?: boolean; onBroadcast?: any }
      • Optional assumeImmutableResults?: boolean
      • cache: ApolloCache<TStore>
      • Optional clientAwareness?: Record<string, string>
      • Optional defaultOptions?: DefaultOptions
      • link: ApolloLink
      • Optional localState?: LocalState<TStore>
      • Optional queryDeduplication?: boolean
      • Optional ssrMode?: boolean
      • onBroadcast?:function
        • onBroadcast(): void
        • Returns void

    Returns QueryManager<TStore>

Properties

assumeImmutableResults: boolean
cache: ApolloCache<TStore>
cancelPendingFetches: any
clientAwareness: any
defaultOptions: DefaultOptions
fetchCancelFns: any
fetchQueryByPolicy: any
getObservableFromLink: any
getQuery: any
getResultsFromLink: any
getVariables: any
inFlightLinkObservables: any
localState: any
mutationIdCounter: any
mutationStore?: {}

Type declaration

onBroadcast?: any
prepareContext: any
queries: any
queryDeduplication: any
queryIdCounter: any
requestIdCounter: any
ssrMode: boolean
stopQueryInStoreNoBroadcast: any
stopQueryNoBroadcast: any
transformCache: any

Methods

  • broadcastQueries(): void
  • Returns void

  • Parameters

    Returns internal.Promise<void>

  • generateMutationId(): string
  • Returns string

  • generateQueryId(): string
  • Returns string

  • generateRequestId(): number
  • Returns number

  • Returns LocalState<TStore>

  • removeQuery(queryId: string): void
  • Parameters

    • queryId: string

    Returns void

  • resetErrors(queryId: string): void
  • Parameters

    • queryId: string

    Returns void

  • Parameters

    Returns void

  • stop(): void
  • Returns void

  • stopQuery(queryId: string): void
  • Parameters

    • queryId: string

    Returns void

  • stopQueryInStore(queryId: string): void
  • Parameters

    • queryId: string

    Returns void

Generated using TypeDoc