Package com.apollographql.apollo
Interface ApolloSubscriptionCall.Factory
-
- All Known Implementing Classes:
ApolloClient
- Enclosing interface:
- ApolloSubscriptionCall<T>
public static interface ApolloSubscriptionCall.FactoryFactory for creatingApolloSubscriptionCallcalls.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <D extends com.apollographql.apollo.api.Operation.Data,T,V extends com.apollographql.apollo.api.Operation.Variables>
ApolloSubscriptionCall<T>subscribe(com.apollographql.apollo.api.Subscription<D,T,V> subscription)Creates and prepares a newApolloSubscriptionCallcall.
-
-
-
Method Detail
-
subscribe
<D extends com.apollographql.apollo.api.Operation.Data,T,V extends com.apollographql.apollo.api.Operation.Variables> ApolloSubscriptionCall<T> subscribe(@NotNull com.apollographql.apollo.api.Subscription<D,T,V> subscription)
Creates and prepares a newApolloSubscriptionCallcall.- Parameters:
subscription- to be sent to the subscription server to start listening pushed updates- Returns:
- prepared
ApolloSubscriptionCallcall to be executed
-
-