awslabs / aws-mobile-appsync-sdk-js

JavaScript library files for Offline, Sync, Sigv4. includes support for React Native
Apache License 2.0
917 stars 265 forks source link

fix: Port over Amplify fix for subscription race conditions (#509) #704

Closed david-mcafee closed 2 years ago

david-mcafee commented 2 years ago

fix: Port over Amplify fix for subscription race conditions

Issue #, if available:

509

Description of changes: There was a fix in Amplify JS to handle subscription race conditions (for instance, on mount / unmount). Porting these over to the AppSync SDK

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.