createSubscription<TSubscriptionPayload
>(config
, requestSubscriptionFn?
): void
Name | Type |
---|---|
TSubscriptionPayload |
extends OperationType |
Name | Type |
---|---|
config |
MaybeAccessor <GraphQLSubscriptionConfig <TSubscriptionPayload >> |
requestSubscriptionFn? |
<TSubscription>(environment : Environment , config : GraphQLSubscriptionConfig <TSubscription >) => Disposable |
void