Skip to content

Allow closing active subscriptions#174

Merged
jsonnull merged 1 commit intojsonnull:fix-subscriptionsfrom
lamualfa:fix-subscriptions
May 3, 2024
Merged

Allow closing active subscriptions#174
jsonnull merged 1 commit intojsonnull:fix-subscriptionsfrom
lamualfa:fix-subscriptions

Conversation

@lamualfa
Copy link
Copy Markdown
Contributor

@lamualfa lamualfa commented Aug 22, 2023

Since this PR trpc/trpc#4136, TRPC Client allows users to close active subscriptions.

Closing an active subscription using the current electron-trpc version will lead us to this error trpc/trpc#4060 (comment)

This PR allows for the closing of active subscriptions. It removes unnecessary code related to tracking the completion of operations and simplifies the logic for error handling and completion. The changes ensure that the observer is properly notified when an operation is complete or when an error occurs.

Generated using OpenSauced.

@netlify
Copy link
Copy Markdown

netlify bot commented Aug 22, 2023

Deploy Preview for electron-trpc ready!

Name Link
🔨 Latest commit e8247c1
🔍 Latest deploy log https://app.netlify.com/sites/electron-trpc/deploys/64e4c62a4d2d960008264ffd
😎 Deploy Preview https://deploy-preview-174--electron-trpc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jsonnull jsonnull changed the base branch from main to fix-subscriptions May 3, 2024 21:30
@jsonnull jsonnull merged commit e3622a7 into jsonnull:fix-subscriptions May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants