amplify-swift
amplify-swift copied to clipboard
Operations should unsubscribe from Hub events on cancel
Is your feature request related to a problem? Please describe.
An operation can be canceled. The tokens for subscribing to events using the Hub only unsubscribe when a result is received. The cancel function does not unsubscribe currently in AmplifyOperation or AmplifyInProcessReportingOperation. When an operation is cancelled it should not be receiving any new values.
Describe the solution you'd like
Cancel also unsubscribes.
Describe alternatives you've considered
None
Is the feature request related to any of the existing Amplify categories?
Analytics, API, Auth, DataStore, Geo, Predictions, Storage
Additional context
No response
This issue was opened by a maintainer of this repository; updates will be posted here. If you are also experiencing this issue, please comment here with any relevant information so that we're aware and can prioritize accordingly.
This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!