mikehostetler / amplify

AmplifyJS
http://amplifyjs.com
GNU General Public License v2.0
1.45k stars 144 forks source link

#29 adding clearAllSubscriptions method to amplify.core.js #122

Open rupeshtiwari opened 5 years ago

rupeshtiwari commented 5 years ago

Checklist

 [-] Added new method
 [-] Added new tests  
 [-] Updated vsdocs 

What is the current behavior ?

There is no way to clear all of the internal subscriptions.

What is the new behavior ?

Now user can clear all of the internal subscriptions whenever they need by calling newly clearAllSubscriptions method.

Does this PR introduce a breaking change?

NO