Gluon: ApolloSubscription
ApolloSubscription
inherits from ApolloElement
and implements the ApolloSubscriptionInterface
.
Read the subscription component guides for examples and tips.
ApolloSubscription
🚀 Custom element base class that updates with an Apollo GraphQL subscription.
Properties
variables
Variables<D, V> | null
Subscription variables.
An object that maps from the name of a variable as used in the subscription GraphQL document to that variable's value.
fetchPolicy
fetch-policyFetchPolicy
data
Data<D> | null
Latest subscription data.
Exports
import { ApolloSubscription } from '@apollo-elements/fast/apollo-subscription';