subscription

open override fun <D : Subscription.Data> subscription(subscription: Subscription<D>): ApolloCall<D>

Prepare a subscription to be executed.

Return

an ApolloCall that can be executed to perform the subscription.

Parameters

subscription

the subscription to be executed.

Type Parameters

D

the subscription data type produced by the subscription.

See also

ApolloCall