amplify-swift icon indicating copy to clipboard operation
amplify-swift copied to clipboard

Operations should unsubscribe from Hub events on cancel

Open brennanMKE opened this issue 3 years ago • 2 comments

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

brennanMKE avatar Aug 13 '22 00:08 brennanMKE

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.

github-actions[bot] avatar Aug 13 '22 00:08 github-actions[bot]

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!

github-actions[bot] avatar Sep 10 '22 03:09 github-actions[bot]