You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
JavaScript Framework
React
Amplify APIs
GraphQL API
Amplify Version
v6
Amplify Categories
api
Backend
Other
Environment information
# Put output below this line
Describe the bug
events.closeAll does not seem workiing as expected. Even after calling the function, all the existing subscription remain active and new events are subscribed.
Expected behavior
After calling event.closeAll, all the existing channels are closed and no new events are subscribed.
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
GraphQL API
Amplify Version
v6
Amplify Categories
api
Backend
Other
Environment information
Describe the bug
events.closeAll
does not seem workiing as expected. Even after calling the function, all the existing subscription remain active and new events are subscribed.Expected behavior
After calling
event.closeAll
, all the existing channels are closed and no new events are subscribed.Reproduction steps
Bascally I followed this tutorial: https://docs.aws.amazon.com/appsync/latest/eventapi/build-amplify-app.html#deploy-react-vite-app
But when I changed a line as below, channels will not be closed at all.
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: