relay-runtime
Version:
A core runtime for building GraphQL-driven applications.
9 lines (7 loc) • 765 B
text/mdx
#### Type `CacheConfig`
* An object with the following fields:
* `force`: *_[Optional]_* A boolean. If true, causes a query to be issued unconditionally, regardless of the state of any configured response cache.
* `poll`: *_[Optional]_* A number. Causes a query to live-update by polling at the specified interval, in milliseconds. (This value will be passed to `setTimeout`).
* `liveConfigId`: *_[Optional]_* A string. Causes a query to live-update by calling GraphQLLiveQuery; it represents a configuration of gateway when doing live query.
* `metadata`: *_[Optional]_* An object. User-supplied metadata.
* `transactionId`: *_[Optional]_* A string. A user-supplied value, intended for use as a unique id for a given instance of executing an operation.