t

apollo_client

ObservableQuery

trait ObservableQuery[T, TVars <: Object] extends Observable[T]

Class but we keep as a trait since we do not create these directly.

Annotations
@JSType() @native()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObservableQuery
  2. Observable
  3. ObservableBase
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def getLastResult(): ApolloQueryResult[T]

Concrete 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. def currentResult(): ApolloCurrentResult[T]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def fetchMore(fetchMoreOptions: FetchMoreQueryOptions[TVars] with FetchMoreOptions[T, TVars]): Promise[ApolloQueryResult[T]]
  10. def filter(f: (T) => Boolean): Observable[T]
    Definition Classes
    ObservableBase
  11. def forEach(f: (T) => Unit): Promise[Unit]
    Definition Classes
    ObservableBase
  12. def from[R](observable: |[Observable[R], Array[R]]): Observable[R]
    Definition Classes
    ObservableBase
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def getLastError(): ApolloError
  15. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  19. def map[B](f: (T) => B): Observable[B]
    Definition Classes
    ObservableBase
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def of[R](args: R*): Observable[R]
    Definition Classes
    ObservableBase
  24. val options: WatchQueryOptions[TVars]
  25. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  26. val queryId: String
  27. val queryName: UndefOr[String]
  28. def refetch(variables: TVars): Promise[ApolloQueryResult[T]]
  29. def resetLastResults(): Unit
  30. def resetQueryStoreErrors(): Unit
  31. def result(): Promise[ApolloQueryResult[T]]
  32. def setOptions(opts: WatchQueryOptions[TVars]): |[Unit, Promise[ApolloQueryResult[T]]]
  33. def setVariables(variables: TVars, tryFetch: UndefOr[Boolean] = js.undefined): |[Unit, Promise[ApolloQueryResult[T]]]
  34. def startPolling(pollInterval: Int): Unit
  35. def stopPolling(): Unit
  36. def subscribe(observerOrNext: |[Function1[T, Unit], Observer[T]], error: UndefOr[Function1[Any, Unit]] = js.undefined, complete: UndefOr[Function0[Unit]] = js.undefined): Subscription
    Definition Classes
    ObservableBase
  37. def subscribeToMore[A, AVars <: Object](options: SubscribeToMoreOptions[T, AVars, A]): Function0[Unit]
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toLocaleString(): String
    Definition Classes
    Object
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def updateQuery(f: Function2[T, UpdateQueryOptions[TVars], T]): Unit
  42. def valueOf(): Any
    Definition Classes
    Object
  43. val variables: TVars
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. 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 Observable[T]

Inherited from ObservableBase[T]

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped