Trait

sri.relay.store

RelayEnvironment

Related Doc: package store

Permalink

trait RelayEnvironment extends Object

Annotations
@RawJSType() @native()
Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RelayEnvironment
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def applyUpdate(mutation: RelayMutation, callbacks: UndefOr[RelayMutationTransactionCommitCallbacks] = js.undefined): RelayMutationTransaction

    Permalink

    Adds an update to the store without committing it.

    Adds an update to the store without committing it. The returned RelayMutationTransaction can be committed or rolled back at a later time.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def commitUpdate(mutation: RelayMutation, callbacks: UndefOr[RelayMutationTransactionCommitCallbacks] = js.undefined): RelayMutationTransaction

    Permalink

    Adds an update to the store and commits it immediately.

    Adds an update to the store and commits it immediately. Returns the RelayMutationTransaction.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def forceFetch(querySet: RelayQuerySet, callback: ReadyStateChangeCallback): Abortable

    Permalink

    Forces the supplied set of queries to be fetched and written to the store.

    Forces the supplied set of queries to be fetched and written to the store. Any data that previously satisfied the queries will be overwritten.

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getStoreData(): RelayStoreData

    Permalink
  14. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def injectDefaultNetworkLayer(networkLayer: NetworkLayer = ???): Unit

    Permalink
  17. def injectNetworkLayer(networkLayer: NetworkLayer = ???): Unit

    Permalink
  18. def injectTaskScheduler(scheduler: RelayTaskScheduler = ???): Unit

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def observe(node: RelayQueryNode, dataID: DataID, options: UndefOr[StoreReaderOptions]): Observable[StoreReaderData]

    Permalink

    Reads and subscribes to query data anchored at the supplied data ID.

    Reads and subscribes to query data anchored at the supplied data ID. The returned observable emits updates as the data changes over time.

  25. def primeCache(querySet: RelayQuerySet, callback: ReadyStateChangeCallback): Abortable

    Permalink

    Primes the store by sending requests for any missing data that would be required to satisfy the supplied set of queries.

  26. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  27. def read(node: RelayQueryNode, dataID: DataID, options: UndefOr[StoreReaderOptions]): UndefOr[StoreReaderData]

    Permalink

    Reads query data anchored at the supplied data ID.

  28. def readAll(node: RelayQueryNode, dataIDs: Seq[DataID], options: UndefOr[StoreReaderOptions]): Seq[UndefOr[StoreReaderData]]

    Permalink

    Reads query data anchored at the supplied data IDs.

  29. def readQuery(root: RelayQueryRoot, options: UndefOr[StoreReaderOptions]): Seq[UndefOr[StoreReaderData]]

    Permalink

    Reads query data, where each element in the result array corresponds to a root call argument.

    Reads query data, where each element in the result array corresponds to a root call argument. If the root call has no arguments, the result array will contain exactly one element.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped