We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dbb024 commit 499bd27Copy full SHA for 499bd27
packages/api-graphql/src/Providers/AWSAppSyncEventsProvider/index.ts
@@ -78,7 +78,7 @@ export class AWSAppSyncEventProvider extends AWSWebSocketProvider {
78
return super.publish(options, customUserAgentDetails);
79
}
80
81
- public closeIfNoActiveChannel() {
+ public closeIfNoActiveSubscription() {
82
this._closeSocketIfRequired();
83
84
packages/api-graphql/src/internals/events/index.ts
@@ -103,7 +103,7 @@ async function connect(
103
openChannels.delete(channelId);
104
setTimeout(() => {
105
if (openChannels.size === 0) {
106
- eventProvider.closeIfNoActiveChannel();
+ eventProvider.closeIfNoActiveSubscription();
107
108
}, 1000);
109
};
0 commit comments