c

react_apollo

UseLazyQuery

case class UseLazyQuery[T, TVars <: Object]() extends ApolloClientOptionsMaker[T, TVars] with Product with Serializable

Instantiate to avoid all the type parameter noise.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UseLazyQuery
  2. Serializable
  3. Product
  4. Equals
  5. ApolloClientOptionsMaker
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UseLazyQuery()

Type Members

  1. type TArg = T
  2. type TVarsArg = TVars

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def makeClientOptions(query: DocumentNode, variables: UndefOr[TVars] = js.undefined, unsafeVariables: UndefOr[Dynamic] = js.undefined, errorPolicy: UndefOr[ErrorPolicy] = js.undefined, context: UndefOr[Object] = js.undefined, fetchResults: UndefOr[Boolean] = js.undefined, metadata: UndefOr[Object] = js.undefined, fetchPolicy: UndefOr[FetchPolicy] = js.undefined): QueryOptions[TVars]

    Make apollo_client.QueryOptions for the ApolloClient returned from useQuery which are slightly different than QueryHookOptions used in the hook! This primarily exists so we can get a js.Promise to throw an exception to the suspense mechanism.

    Make apollo_client.QueryOptions for the ApolloClient returned from useQuery which are slightly different than QueryHookOptions used in the hook! This primarily exists so we can get a js.Promise to throw an exception to the suspense mechanism.

    Definition Classes
    ApolloClientOptionsMaker
  10. def makeLazyOptions(variables: UndefOr[TVars] = js.undefined, unsafeVariables: UndefOr[Dynamic] = js.undefined, context: UndefOr[Object] = js.undefined): QueryLazyOptions[TVars]

    Make LazyQueryHookOptions

  11. def makeOptions(variables: UndefOr[TVars] = js.undefined, unsafeVariables: UndefOr[Dynamic] = js.undefined, query: UndefOr[DocumentNode] = js.undefined, displayName: UndefOr[String] = js.undefined, onCompleted: UndefOr[Function1[UndefOr[T], Unit]] = js.undefined, onError: UndefOr[Function1[ApolloError, Unit]] = js.undefined, ssr: UndefOr[Boolean] = js.undefined, fetchPolicy: UndefOr[WatchQueryFetchPolicy] = js.undefined, errorPolicy: UndefOr[ErrorPolicy] = js.undefined, pollInterval: UndefOr[Int] = js.undefined, client: UndefOr[ApolloClient] = js.undefined, notifyOnNetworkStatusChange: UndefOr[Boolean] = js.undefined, context: UndefOr[Object] = js.undefined, partialRefetch: UndefOr[Boolean] = js.undefined, returnPartialData: UndefOr[Boolean] = js.undefined, skip: UndefOr[Boolean] = js.undefined): LazyQueryHookOptions[T, TVars]

    Make LazyQueryHookOptions for the hook, not for the lazy fetcher.

  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def productElementNames: Iterator[String]
    Definition Classes
    Product
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def useLazyQuery(query: DocumentNode, options: UndefOr[|[LazyQueryHookOptions[T, TVars], Dynamic]] = js.undefined): (Function1[QueryLazyOptions[TVars], Unit], QueryResult[T, TVars])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ApolloClientOptionsMaker[T, TVars]

Inherited from AnyRef

Inherited from Any

Ungrouped